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 |
Explain how you can use recovery scenario with selenium?
How you can convert any selenium ide tests from selenese to another language?
How is driver.close()command different from driver.quit command?
Tell us what are the two modes of views in selenium ide?
Why should Selenium be selected as a testing tool?
How to input text in the text box using selenium webdriver?
What is the difference between the commit and verify commands?
What is the purpose of creating a reference variable- ‘driver’ of type
Explain how you can capture server side log selenium server?
How to achieve database testing in selenium?
what is your approach clicking all the links which are available on the page?
How do you get the current page url?