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

Tell me what is a node in selenium grid?

0 Answers  


Mention in what ways you can customize testng report?

0 Answers  


How to handle frame in webdriver?

0 Answers  


How can I learn to automate testing using selenium?

0 Answers  


How to switch between frames in selenium?

0 Answers  


What selenium components do you know?

0 Answers  


How to get typed text from a textbox?

0 Answers  


How to insert a breakpoint in selenium ide?

0 Answers  


What is the difference between selenium and qtp?

0 Answers  


What are the webdriver supported mobile testing drivers?

0 Answers  


How many exemptions do you know in selenium webdriver?

0 Answers  


Tell me in which format does source view show the script in selenium ide?

0 Answers  


Categories