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
Explain how you can switch back from a frame?
How would you test your element locator?
How you build object repository in your project?
What are the different components of selenium?
How to check a checkbox in selenium?
What is the difference between @factory and @data provider annotation?
What are the different types of annotations which are used in selenium?
Why to choose python over java in selenium?
What is the difference between single and double slash in xpath?
What is the use of @listener annotation in testng?
How to developer selenium test cases?
What is regular expressions? How you can use regular expressions in selenium?
What is the difference between poi and jxl jar?
How to type text in a textbox using selenium?
Explain xpath.