Hey there! any question in your mind? Ask It Now!.

Popular Categories

How to select a drop down in selenium web driver?

+1 vote
asked in Software Testing by krish Expert (6,310 points)

i have a web application ,their some dropdowns are their and want to automate them.

I am trying 



But not working.

1 Answer

+2 votes
answered by seleniumGuru Expert (4,570 points)
selected by krish
Best answer

you should use select class like this :

      Select select = new Select(driver.findElement("By.id("ID")"));
commented by krish Expert (6,310 points)
thanks it works :)

Related Questions

+2 votes
1 answer 1,316 views
+1 vote
1 answer 2,276 views
+5 votes
7 answers 14,684 views
+2 votes
1 answer 148 views
+2 votes
2 answers 840 views
+11 votes
1 answer 138 views

Not a Member yet?

Ask to Folks Login

My Account
677 Folks are online
0 members and 677 guest online
Your feedback is highly appreciated