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 |
How you build object repository in your project?
What are the testing type supported by selenium webdriver?
in real time , which framework is used ? is it datadriven or keyword or hybrid ?? please answer
Which web driver implementation is fastest?
What is the testng.xml file used for?
When do we use findelement() and findelements()?
Tell me how can you handle network latency using selenium?
What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium?
How can you insert a start point in selenium ide?
What is a fundamental difference between xpath and css selector?
How can we move to a particular frame in selenium?
How you can insert a start point in selenium ide?