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

How do i automate a website www.flyashx.com without having any test cases witin a week time.

1922


after medical test,when will be the police verification

2168


Is VB Script Case sensitive or Case insensitive?

1106


What's the difference between vbscript and vb.net?

1106


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

2081


How can the spaces from the string be removed?

1018


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2093


about vb scripting programs this type of all question& answers

2138


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3462


Explain the .wsf files?

971


How will you get the largest subscript of an array in vbscript?

1169


Mention what is variant in vbscript?

945


Explain few date functions in vbscript?

1058


How do you declare a variable in vbscript?

1064


What is the main difference between function and sub-procedure?

1059