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 |
How you can login into any site if it’s showing any authentication popup for password and username?
What is the difference between driver.close() and driver.quit() methods?
What are the technical limitations while using selenium rc?
What are the advantages of the automation structure?
What are the drawbacks of selenium ide
How can we capture screenshots in selenium?
List the parameters that one needs to pass in selenium.
Mention what are the capabilities of selenium webdriver or selenium 2.0?
Firefox driver is class or an interface and from where is it inherited?
Tell me what are the advantages of using git hub for selenium?
Write a code snippet to perform right-click an element in webdriver.
what is the difference between absolute path and relative path?