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
Which selenium command(s) simulates selecting a link?
What happen if you mix both thread.sleep and webdriver waits in a selenium script?
How to install use TestNG in selenium webdriver ?
What is the architecture of selenium rc?
What is the testng.xml file used for?
what are the testing frameworks used in selenium?
What does a right-pointing green triangle at the beginning of a command in side indicate?
How to login to any site if it’s showing any authentication popup for
How do you read test data from excels?
How to perform drag and drop action in selenium webdriver?
How to use regular expressions in selenium?
Explain how you can switch between frames?
How do you click on a menu item in a drop down menu?
Define selenium 2.x?
What is implicit wait in selenium webdriver?