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 |
What are the challenges in handling ajax call in selenium webdriver?
How can we move to a particular frame in selenium?
In selenium ide how you can generate random numbers and dates for test data?
Can we edit recorded selenium ide test cases?
Explain how you can debug the tests in selenium ide?
What are the different Exceptions in selenium?
How to perform right click using webdriver?
What is the command to connect a node to the selenium grid?
What are the main advantages of automation testing?
How to click on a hyperlink using selenium webdriver?
How can we check if an element is getting displayed on a web page?
Name the different types of waits in webdriver.