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

Why should testers opt for selenium and not qtp?

576


Using selenium ide is it possible to get data from a particular html table cell?

641


What is automation testing?

501


What are the different types of wait statements in selenium webdriver? Or how do you achieve synchronization in webdriver?

465


What does a knot do on the selenium grid?

575






Is the firefoxdriver a class or an interface?

572


How to click on a hyper link using linktext?

517


What is the difference between “type” and “type and wait for” command?

514


Which of the selector ID, name, XPath or CSS should I use?

510


Tell me how can you insert a start point in selenium ide?

437


What is the alternate way to click on login button?

1092


Why should selenium be selected as a test tool?

566


Explain me how to check a checkbox in selenium?

485


When do we use findelement() and findelements()?

480


Explain what is the difference between find elements () and find element ()?

488