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.

IMLearner

RE: not able to fill details inside a form whose attributes are dynamically changing

RE: not able to fill details inside a form whose attributes are dynamically changing

IMLearner Default Asked on January 26, 2016 in Selenium WebDriver.

Did you put wait for this popup..?
i guess you might be having  wait issue.

on January 27, 2016.
Add Comment
5 Answers

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.

Virender

Professor Answered on January 27, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.