How do you select the 2nd item in a List box or drop down
through selenium RC (Java)

Answers were Sorted based on User's Feedback



How do you select the 2nd item in a List box or drop down through selenium RC (Java)..

Answer / sagar

Its simple Selenium.click("second item ID");

Is This Answer Correct ?    1 Yes 10 No

How do you select the 2nd item in a List box or drop down through selenium RC (Java)..

Answer / sunil

we can use index property to select the 2nd value from the drop down.
selenium.click(index,1) as index starts from 0

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More Automation Testing AllOther Interview Questions

What is test tool?

0 Answers  


you have same applications (same server configaration)A&B you are doing nonfunctionality testing . what they differ in?

0 Answers  


did anybody take online training from Mind Q systems hyderabad? please share your experience. thanks 

0 Answers  


How t o create Libreary files on QTP

2 Answers  


what is 2 tier and 3 tier application.

0 Answers  


What are the types of the framework used in software automation testing?

0 Answers  


Tell me how can the user get a text of a web element?

0 Answers  


How do you plan test automation?

0 Answers  


What are the types of testing we cannot do, by using automation tools

3 Answers   Maveric, Oracle,


What is the need of Automation framework?

3 Answers  


Does automation replace manual testing?

2 Answers  


Tell me what criteria do you consider for automating a test?

0 Answers  


Categories