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
How you are developing the script? Using record and play back or manual?
What are the benefits of quick test pro(qtp)?
Write a script to customize the test results in PDF and HTML format.
How to interact tool & application build in QTP?
What are the different types of recovery operation?
How to associate shared object repository to test in qtp?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
How to add synchronisation points in qtp?
Does QTP record on Objects created on XWindows Environment?
What is qtp window?
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?
Explain different type of event trigger option.
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
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
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel