what are the Dynamic elements in web Application?

Answers were Sorted based on User's Feedback



what are the Dynamic elements in web Application?..

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

what are the Dynamic elements in web Application?..

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

Post New Answer

More Selenium Interview Questions

Have you created any framework?

0 Answers  


What are the advantages of page object model framework?

0 Answers  


What are some disadvantages of Selenium automation?

0 Answers  


Other than the default port 4444 how you can run selenium server?

0 Answers  


What is framework and what are the frameworks available in rc?

0 Answers  






What is selenium webdriver or google webdriver or selenium 2.0?

0 Answers  


How can you redirect browsing from a browser through some proxy?

0 Answers  


Which are the browsers supported by selenium ide?

0 Answers  


What are different forms of selenium?

0 Answers  


What kind of keyboard operations can be performed in selenium?

0 Answers  


What difference do you make between soft vs. Hard to say in selenium?

0 Answers  


How to pause a test execution for 5 seconds at a specific point?

0 Answers  


Categories