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
Firefox driver is class or an interface and from where is it inherited?
What is implicit wait in selenium webdriver?
What are core extension?
How to find whether an element is displayed on the web page?
What are the advantages of selenium webdriver?
Which technique should you consider using throughout the script “if there is neither frame id nor frame name”?
Tell me how can we launch different browsers in selenium webdriver?
Tell me how can you insert a start point in selenium ide?
How to scroll down to a particular element?
How to validate the dropdown value contains specific value or not?
Enlist the components of selenium.
What is the difference between “type” and “type and wait for” command?
When do we use findelement() and findelements()?
What’s the difference between borland silk evaluation and selenium?
How to install use TestNG in selenium webdriver ?