Answer Posted / dileep kumar
by using select keyword we can select a value from dropdown box
select select = new select (driver.findelement(by.xpath(" xpath")));
select.selectbyindex(2);
select.selectbyvalue(2);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me can selenium handle windows based pop-up?
What is the difference between verify and assert commands?
What are startpoints and breakpoints in selenium?
How will you handle working with multiple windows in selenium?
Name an api used for logging in java?
Explain how you can find broken images in a page using selenium web driver?
What is the main difference between the close() and quit() methods?
Mention what is intellij?
When we use findElement () and findElements () findElement ()?
How to execute javascript in selenium?
What evaluation can selenium do?
List out the technical challenges with selenium?
How do I launch the browser using webdriver?
In selenium ide, give the usage of context menu?
List some of the common automation frameworks.