What are the different type of locators?

Answer Posted / ishwar lanke

1. Id
2. Class
3. name
4. hyper link
5. Xpath
6. css
7. dom

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How colors could be handled in selenium webdriver?

543


Tell me how can we maximize browser window in selenium?

527


Explain the different exceptions in selenium webdriver.

581


What is an absolute xpath?

657


What is the command that is used in order to display the values of a variable into the output console or log?

727






How to test ajax application with selenium?

580


What is the purpose of the getoptions() method?

540


Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.

3864


what are the testing frameworks used in selenium?

605


How to capture screenshot in selenium webdriver?

581


How many types of webdriver api's are available in selenium?

554


How to hover the mouse on an element?

566


Give ide's main parts and components?

612


How you are integrating cucumber feature files with step files?

515


Can you use Selenium to test the Rest API or Web services?

576