how to Handle dropdown?

Answer Posted / pratik mehta

Drop downs can be handled using Select class.
It depends however on the requirement and can be classified into three units:-
1. By value.
2. By VisibleText.
3. By Index

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different types of drivers in webdriver.

466


How to change the url on a webpage using selenium web driver?

473


How to run selenium webdriver test from the command line?

508


How can one get side to always record an absolute url for the open command's argument?

549


What is the difference between selenium and qtp?

487






Can we use selenium grid for performance testing?

451


How selenium grid works?

478


Tell us what are the two modes of views in selenium ide?

459


What is selenium webdriver or google webdriver or selenium 2.0?

458


How you can handle colors in web driver?

476


How would one access the value of a side variable named name from within a javascript snippet used as the argument to a selenese command?

452


How can we find the value of different attributes like name, class, value of an element?

493


How to check if a text is highlighted on the page ?

660


What are the different Exceptions in selenium?

506


Explain how you can handle colors in web driver?

580