How can i select multiple items from a WebList bOX USING QTP

Answer Posted / bhavya

' Check if multiple items exist in
listbox, IF yes, then select those ELSE report error
Dim AppList ,Obj
AppList = ListApplicationsToSelect()
Set Obj = Browser("SMART").Page("Add User").WebList
("seiApp")
ItemSelected = SelectMultipleListItems
("SEI_Applications", Obj, AppList)
SelectMultipleListItems(
If ItemSelected <> "PASS" Then
AddUserInfo_Page1 = ItemSelected
'Exit function
end if

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

752


how to download mercury qtp9.2 ny internet ?

3208


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1931


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1725


When using descriptive programming?

835


What are advantages of test automation?

903


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1565


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

2850


How to find a window is minimized or not

1628


What is quick test pro? What is a quick test professional?

786


what are the mandatory properties for a tex boxc (scenario?)

1751


QTP script is not working on other's machine..

1728


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1723


How can we conduct U-I Testing by using QTP??????

1634


What are table and db checkpoints?

807