what are the Dynamic elements in web Application?
Answer Posted / 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 |
Post New Answer View All Answers
List out the test types that are supported by selenium?
How to press enter key on text box in selenium webdriver?
List some of the common automation frameworks.
Explain the difference between implicit wait and explicit wait.?
What are the different components of selenium?
What kinds of tests can be run with the selenium framework?
What is Dynamic xpath in selenium ?
Using web driver how you can store a value which is text box?
How to type in a textbox using selenium?
What is the use of driver.get("url") and driver.navigate().to("url") command? Is there any difference between the two?
Can we enter text without using sendkeys()?
How do you click on a menu item in a drop down menu?
How you can switch back from a frame?
What is selenium 2.0?
Explain how you can switch between frames?