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 list box by using Selenium
web-driver?

Answer Posted / elite

We need to get all options using String[] options = Selenium.getSelectOptions
and use selenium.select(options[2]) which will select second option

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the environments where vbscript could be run?

1251


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

2125


What is the difference between VBScript and JavaScript?

2721


How can constants be declared in the vbscript language?

1001


Explain about constants in vb script?

1034


Illustrate briefly about the different types of statement

2504


Mention what is the difference between vbscript and vba?

1063


How should i Create Email invite with server-side Coding?

2141


Which operator can be used to change the value of the operand or change the state of the condition?

1038


filter the array values without using filter function?

2116


How will you compare two strings in vbscript?

1077


What is the output of a + b in vbscript if a = 5 and b = 10?

3114


Description.Create

2650


Explain the support of asp for vb script functionality?

1084


Mention what is byref and byval parameters in vbscript?

1018