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 |
Explain how you can switch back from a frame?
What is the super interface of webdriver?
How can you find if an element displayed on the screen?
Mention what is the use of x-path?
What is selenium 2.0?
List some advantages of test automation?
What are selenium 1 and selenium 2?
How to perform double click action in selenium webdriver?
What is the difference between selenium and qtp?
How to check if an element is visible on the web page?
How to handle frame in webdriver?
Explain me how to execute javascript in selenium?