How do you get all the values from Drop Down list?

Answer Posted / raj

(new WebDriverWait(driver, 60)).until(new ExpectedCondition<WebElement>() {
public WebElement apply(WebDriver newDriver) {
return newDriver.findElement(By.id("BlogArchive1_ArchiveMenu"));
}
});

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of xpath?

588


How can you use the recovery scenario in selenium webdriver?

1315


What exactly is the price of selenium test-suite?

524


What test can selenium do?

624


What is parameterization in testng? How to pass parameters using testng.xml?

554






What are some expected conditions that can be used in explicit waits?

546


What is the difference between the commit and verify commands?

611


How to print Duplicate values in Drop Down List

589


How you can switch between frames?

596


How to find the xpath of web table elements.in chrome or internet explorer.or without using fire bug.?

1140


Explain the different kinds of frameworks in automation?

564


Explain how you can login into any site if it’s showing any authentication popup for password and username?

548


Tell me what is a node in selenium grid?

574


How is testng better than junit?

581


How to do file upload in selenium?

616