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 |
Have you created any framework?
What are the advantages of page object model framework?
What are some disadvantages of Selenium automation?
Other than the default port 4444 how you can run selenium server?
What is framework and what are the frameworks available in rc?
What is selenium webdriver or google webdriver or selenium 2.0?
How can you redirect browsing from a browser through some proxy?
Which are the browsers supported by selenium ide?
What are different forms of selenium?
What kind of keyboard operations can be performed in selenium?
What difference do you make between soft vs. Hard to say in selenium?
How to pause a test execution for 5 seconds at a specific point?