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 what can cause a selenium ide test to fail?
Can we use selenium grid for performance testing?
What does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.
How will you find an element using selenium?
How to handle the AJAX popup window?
What are junit annotations?
Describe technical problems that you had with selenium tool?
What is selenium rc?
When we use findElement () and findElements () findElement ()?
Which files can be used as data source for different frameworks?
How does selenium score over other automation tools like hp qtp, ibm rft, and testcomplete?
Tell us how you can use recovery scenario with selenium?
What are the types of text patterns available in selenium?
What are the different types of web controller APIs supported in Selenium?
How to handle https website in selenium? Or how to accept the ssl untrusted connection?