How can i select multiple items from a WebList bOX USING QTP
Answers were Sorted based on User's Feedback
Answer / sri satya
Hi,
You can select multiple items from the Web List by using
ExtendSelect.
For Ex:
Browser().Page().Weblist(WebListName).Select(WebListValue1)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue2)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue3)
.................. ....... (WebListValue4)
.................. .......(WebListValue5)
| Is This Answer Correct ? | 29 Yes | 2 No |
Answer / 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 |
Answer / 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 |
Is it possible to use two instances of UFT on the same machine? If not why?
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
What is the Difference Between Quick Test Pro and Quick test professional?
How to use Environment parameterization in QTP? Explain with an example.
anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com
In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd coloums name (not data)how can any one explain
What is the use of text output value in quicktest professional (qtp)?
How to get data line by line from web element
Explain quicktest professional (qtp) testing process?
WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?
21 Answers ABM, AZTEC, CTS, Infosys, Nihilent, Orange,
how to parameterizing values from an excel sheet in Quick test professional?