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 |
Tell me how to verify tooltip text using selenium?
How to perform right click using selenium webdriver?
How you can switch back from a frame?
Why should selenium be selected as a test program?
What must one set within side in order to run a test from the beginning to a certain point within the test?
How a text written in a text field could be cleared?
How to create batch(.bat) file after creating suite from TestNG?Can anyone explain entire process?
How can we create an object repository in selenium?
What are the different Exceptions in selenium?
How to write in a text box using Selenium?
What is desired capability? How is it useful in terms of selenium?
How to assert title of the web page?