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
What do you know about selenium?
How to insert a comment in selenium ide?
How you will login into any site if it is showing any authentication popup for username and password?
Explain how you can find broken images in a page using selenium web driver?
Explain about selenium-ide ?
What is the difference between single slash (/) and a double slash ( //) in xpath?
Describe a framework. List some of the common automation frameworks.
How to scroll down a page using javascript in selenium?
Mention what are the advantages of using git hub for selenium?
How do you upload a file?
How to check a checkbox in selenium?
What is the difference between assert and verify in selenium?
How to set the size of browser window using selenium?
How is driver.close()command different from driver.quit command?
Do you know what are the main advantages of selenium grid?