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 can i select multiple items from a WebList bOX USING QTP

Answer Posted / ragupathi from syntel

Dim a,i

'Getting list box count

a=Browser().Page().Weblist(WebListName).GetItemsCount

'getting list box values

For i=0 to a-1
msgbox Browser().Page().Weblist(WebListName).GetItem
(i),4,"States"
Next

Is This Answer Correct ?    2 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the automation metrice in your project?

2252


how will you load the test cases in ddt?

2042


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

2270


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1823


how to idetfy which test cases are automated?who will deside that plz tell me

1977


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

2111


How you will rate urself in QTP in the range of 0 to 5

2179


Does quicktest professional (qtp) is unicode compatible?

981


How to capture a window in QTP?

1943


How to check bitmap output value?

1142


What is data driver in qtp?

978


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

1079


Define Environment Variable in UFT and its uses?

1031


What is the difference in testing a client-server application and a web application?

1074


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1819