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 kind of mouse actions can be performed in selenium?
how to Handle dropdown?
2 Answers Cryptopy Technologies,
Have you created any framework?
Using web driver how you can store a value which is text box?
Write a code snippet to launch firefox browser in webdriver.
List some of the operating systems that are supported by selenium webdriver.
How is driver.close()command different from driver.quit command?
What is object repository in selenium webdriver?
What is the meaning of assertion in selenium and what are the types of assertion?
List some advantages of test automation?
What are some of the advantages of selenium grid?
What You Know About Selenium Grid?