How to select a value from a drop-down?
Answer / 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 |
What is pom (page object model)?
How to clear the text in the text box using selenium webdriver?
Explain me how to execute javascript in selenium?
What is the wait?
How to get the number of frames on a page?
How you build object repository in your project?
How can it be found if an item is displayed on the screen?
What are the testing type supported by selenium webdriver?
Explain how you will login into any site if it is showing any authentication popup for username and password?
What is the difference between selenium and sikuli?
What is the alternative to driver.get() method to open an url using selenium webdriver?
Explain me what could be the cause of selenium webdriver test to fail?