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
What is an explicit wait in selenium?
How to submit a form using selenium webdriver?
Tell me does the selenium have any limitations?
What are the languages supported by webdriver?
Which is the super interface of webdriver?
Tell us how many exceptions do you know in selenium webdriver?
Why should testers opt for selenium and not qtp?
How to run test case traced by employing ide in browsers?
How many exemptions do you know in selenium webdriver?
What are the locators available in selenium?
How you can handle colors in web driver?
What happen if you mix both implicit wait and explicit wait in a selenium script?
When should one use selenium grid?
How do you identify an object using selenium?
What test can selenium do?