RE: not able to fill details inside a form whose attributes are dynamically changing
not able to fill details inside a form whose attributes are dynamically changing.
As per my knowledge, it is an iFrame and inside it is the required <input> Tag and all values are dynamically changing. I am confused and need help in filling this form.
Please help me. Thanks all in advance in helping me.
That is an Iframe so I am assuming that you have already used
driver.switchTo().Frame() command. Once you are there on the frame use any of the CSS path or Xpath to locate the element. I am seeing that your element has a class attribute and it seems to be constant value. Try driver.FindElementByClass() to find this element, it should do.
So to summarize
– First switch to the frame by using driver,SwitchTo().Frame command
– Find the element using CSS or Xpath or class attribute
Once you are done do let us know if everything worked fine.