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 you are developing the script? Using record and play back or manual?

821


What are the benefits of quick test pro(qtp)?

769


Write a script to customize the test results in PDF and HTML format.

2341


How to interact tool & application build in QTP?

1690


What are the different types of recovery operation?

774


How to associate shared object repository to test in qtp?

744


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

844


How to add synchronisation points in qtp?

786


Does QTP record on Objects created on XWindows Environment?

1914


What is qtp window?

788


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1799


Explain different type of event trigger option.

744


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

863


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1697


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2135