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 page object model or pom?
Explain what is framework and what are the frameworks available in rc?
How can we create an object repository in selenium?
How to handle browser (chrome) notifications in selenium?
Explain dataproviders in testng using an example. Can I call a single data provider method for multiple functions and classes?
In which format does source view shows your script in selenium ide?
Other than the default port 4444 how you can run selenium server?
Do you know how to mouse hover an element in selenium?
selenium can handle pop-up windows based on selenium is a test tool?
What are the technical limitations while using selenium rc?
What are the advantages of selenium as a test tool?
what is mutation testing, Difference between system and End to End testing,Give examples of bug having high priority but low severity except spelling mistakes and logo symbol.