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 are selenium tests normally named (as displayed at the top of each test when viewed from within a browser)?
How can you run selenium server other than the default port 4444?
How can we move to a particular frame in selenium?
How to login to any site if it’s showing any authentication popup for
How you are integrating cucumber feature files with step files?
What is an implicit wait in selenium?
Explain what is selenium ide?
How you can find broken images in a page using selenium web driver?
How to clear the text in the text box using selenium webdriver?
To enter values onto text boxes what is the command that can be used?
How can we find all the links on a web page?
Explain how you can switch between frames?