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 ?    16 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 ?    5 Yes 0 No

Post New Answer

More Selenium Interview Questions

Can you write the code to double click an element in selenium?

0 Answers  


Tell us what kind of keyboard operations can be performed in selenium?

0 Answers  


What is fluent wait in selenium?

0 Answers  


Explain how you can insert a start point in selenium ide?

0 Answers  


Tell me could cookies be deleted in selenium?

0 Answers  






How to select a value in a dropdown?

0 Answers  


Explain what is datadriven framework and keyword driven?

0 Answers  


What is the use of selenium grid?

0 Answers  


How can I click the div tag using xpath <div> <input> <input> <input> <input>.....suresh....</input> </input> </input> </input> </div>

4 Answers   Value Labs,


Tell me in which format does source view show the script in selenium ide?

0 Answers  


what is the difference between type keys and type commands?

0 Answers  


What kinds of tests can Selenium support?

0 Answers  






Categories