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
Is selenium server needed to run selenium webdriver scripts?
How could ajax controls be handled in webdriver?
What are the prerequisites to run selenium webdriver?
What is testng?
What do you know about selenium?
What is a relative xpath?
What are the advantages of using git hub for selenium?
@timeouts ||= Timeouts.new(@bridge) what does it mean?
How to upload a file in selenium webdriver?
What will be the limits of selenium?
what will be the first salary and what will be the hike in the salary?
How do you simulate scroll down action?
What’s new in selenium 3.0?
What are the different exceptions you have faced in selenium webdriver?
How to print Duplicate values in Drop Down List