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

Explain how you can switch back from a frame?

0 Answers  


What is the super interface of webdriver?

0 Answers  


How can you find if an element displayed on the screen?

0 Answers  


Mention what is the use of x-path?

0 Answers  


What is selenium 2.0?

0 Answers  






List some advantages of test automation?

0 Answers  


What are selenium 1 and selenium 2?

0 Answers  


How to perform double click action in selenium webdriver?

0 Answers  


What is the difference between selenium and qtp?

0 Answers  


How to check if an element is visible on the web page?

0 Answers  


How to handle frame in webdriver?

0 Answers  


Explain me how to execute javascript in selenium?

0 Answers  


Categories