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

What the webdriver supported mobile testing drivers do you know?

485


Mention what is desired capability? How is it useful in terms of selenium?

490


What is difference between @factory and @dataprovider annotation?

534


Which are the languages supported by selenium rc?

488


Can we use selenium rc to drive tests on two different browsers on one operating system without selenium grid?

473






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

469


What is the use of deselect all () method?

525


How to connect a database in selenium?

481


How to insert a start point in selenium ide?

500


Tell me how you can capture server side log selenium server?

497


Tell me what you know about selenium?

522


What is a hub in selenium grid?

549


What is pom (page object model)?

491


What is same origin policy? How you can avoid same origin policy?

448


How can we inspect the web element attributes in order to use them in different locators?

509