List<WebElement> options = select.findElements(By.tagName("option"));
for (WebElement option : options) {
if("Germany".equals(option.getText().trim()))
option.click();
}
Pages
- Training Details
- Manual + QTP + Selenium
- QTP Scripting for BEGINNERs
- QTP INTERMEDIATE
- EXPERT QTP
- VB Script
- Encrypting a String in QTP
- QTP Scripts
- QTP questions and answers
- Selenium Code Links
- Selenium Framework
- Java OOPs Concepts
- JDBC Connection
- TestNG Build.xml code
- pom.xml
- CONFIGURE ECLIPSE WITH CUCUMBER
- SQL Commands
- EVENT LISTENERS IN SELENIUM WEBDRIVER
- ContactUs
Total Pageviews
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment