How do you get all the values from Drop Down list?
Answer Posted / chetan phani.j
If the dropdown list box is developed by using Select tag then we can use Select class.
ex:
WebElement adrs=d.findelementBy.id();
Select sal=new Select(adrs);
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to write in a text box using Selenium?
What is the main disadvantage of implicit wait?
How we handle pop-up web-based ?
Tell us how you can use recovery scenario with selenium?
How does one store the current url using selenium 2.0?
Do you know a way to refresh the browser by using selenium?
How to type text in a textbox using selenium?
what is mutation testing, Difference between system and End to End testing,Give examples of bug having high priority but low severity except spelling mistakes and logo symbol.
How you can login into any site if it’s showing any authentication popup for password and username?
What is robot api?
What you know about selenium?
How to scroll down to a particular element?
How to highlight element using selenium webdriver?
selenium can handle pop-up windows based on selenium is a test tool?
How to handle browser (chrome) notifications in selenium?