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
What are the automation metrice in your project?
how will you load the test cases in ddt?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
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
how to idetfy which test cases are automated?who will deside that plz tell me
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
How you will rate urself in QTP in the range of 0 to 5
Does quicktest professional (qtp) is unicode compatible?
How to capture a window in QTP?
How to check bitmap output value?
What is data driver in qtp?
The hybrid framework can be implemented for any application. Is it true?
Define Environment Variable in UFT and its uses?
What is the difference in testing a client-server application and a web application?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?