Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to select a value from a drop-down?



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

Post New Answer

More Selenium Interview Questions

How you build object repository in your project?

0 Answers  


What are the testing type supported by selenium webdriver?

0 Answers  


in real time , which framework is used ? is it datadriven or keyword or hybrid ?? please answer

2 Answers   Cap Gemini,


Which web driver implementation is fastest?

0 Answers  


What is the testng.xml file used for?

0 Answers  


When do we use findelement() and findelements()?

0 Answers  


Tell me how can you handle network latency using selenium?

1 Answers  


What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium?

0 Answers  


How can you insert a start point in selenium ide?

0 Answers  


What is a fundamental difference between xpath and css selector?

0 Answers  


How can we move to a particular frame in selenium?

0 Answers  


How you can insert a start point in selenium ide?

0 Answers  


Categories