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...

A webPage has a ComboBox with 10 values in it.
Write a script to select 4 vales from it using CTRL key

Answer Posted / sesibhushan

set listObj=Browser("micclass:=Browser").Page
("micclass:=Page").WebList("micclass:=WebList","name:=XXXX"

listObj.select "#1"
listObj.ExtendSelect "#2"
listObj.ExtendSelect "#3"
listObj.ExtendSelect "#4"

Note: This will work for combobox also.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is test case write?

1081


How can I import environment from a file on disk?

1135


In qtp, how you can exit for loop?

1073


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

2005


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

6307


What is the Difference between test object and run time object?

1284


To which environments does quicktest professional (qtp) supports?

1069


How to integrate the qualitycenter with qtp

2324


The hybrid framework can be implemented for any application. Is it true?

1207


What is the use of text output value in quicktest professional (qtp)?

1089


what is command for executing files?

2086


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

3316


Mention the different actions types of qtp.

1070


what is the difference btn risks & Therads in the Test plan documentation?

2171


What is the expert view?

1048