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 dataproviders in testng ?
how to upload file other than autoit
what is the difference between absolute path and relative path?
What is the difference b/w close () and quit ()?
What is selenium webdriver or google webdriver or selenium 2.0?
How can we check if an element is enabled for interaction on a web page?
How to check the checkbox or radio button is selected?
For database testing in selenium webdriver what api is required?
Explain how you will login into any site if it is showing any authentication popup for username and password?
What are the operating systems supported by selenium webdriver?
What is selenium 1.0?
What is the syntax of finding elements by id using css selector?