what are the Dynamic elements in web Application?
Answers were Sorted based on User's Feedback
Answer / raam
the elements whose identifiers are non static which may change within time..dynamically generates its identifiers.
it is used for buttons,text etc..
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / sehgalkhyati@gmail.com
Use these methods
Relative XPath with Starting Text
XPath: //button[starts-with(@id, 'tag-')]
Relative XPath with Text Contains
XPath: //input[contains(@class, '-test-')].
Element with Index
driver.findElements(By.xpath(“//*button”)).get(0).click();
| Is This Answer Correct ? | 7 Yes | 0 No |
What is the difference between “/” and “//” in xpath?
What is difference between qtp and selenium?
How to run a group of test cases using testng?
How is driver.close()command different from driver.quit command?
How to mouse hover on a web element using webdriver?
what are the testing frameworks used in selenium?
What is the purpose of deselecting all() method?
What are desiredcapabilities in selenium webdriver?
how will u log a bug and the process of logging bus in selenium?
What is the difference between verify and assert commands?
What do you mean by selenese?
Can we use selenium rc for tests driving on two different browsers on one operating system without selenium grid?