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 ?    17 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 ?    6 Yes 0 No

Post New Answer

More Selenium Interview Questions

What programming languages does Selenium use?

0 Answers  


Is there an htmlunitdriver for .net?

0 Answers  


We do create a reference variable ‘driver’ of type webdriver

0 Answers  


How to mouse hover on a web element using webdriver?

0 Answers  


What are the languages supported by webdriver?

0 Answers  






Tell me what kind of mouse actions can be performed in selenium?

0 Answers  


What are the Different Types of Waiting in the WebDriver?

1 Answers  


How to debug the tests in selenium ide?

0 Answers  


What are the advantages of the automation structure?

0 Answers  


How to select a value from a drop-down?

1 Answers  


Tell me does the selenium have any limitations?

0 Answers  


What api is required for database testing in selenium webdriver?

0 Answers  






Categories