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 |
Tell me do you know a way to refresh browser by using selenium?
How to check if an element is visible on the web page?
What programming languages are you able to use in selenium rc?
Tell us how you can use recovery scenario with selenium?
What happens if I run this command. Driver.get(“www.softwaretestingmaterial.com”) ;
Which webdriver implementation claims to be the fastest?
How to check which option in the dropdown is selected?
How to export the tests from selenium ide to selenium rc in different languages?
where do u maintain all your test cases in manual not in selenium
What is selenium? What are the different components of Selenium?
How to handle alerts in selenium?
What are the test types supported by selenium?