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 |
What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?
how can we group that these test cases only should be automated and in which order you execute that test cases?
can anybody give me the links for vb script material
How to invoke Mozilla from QTP thru VB Script
Write the regular expression code, it accepts the alpha, numeric and special symbol and the first character should be the Alphabet. Tell me the answer
How to retrieve data from application objects?
what the difference between shared repository and per action repository?
What is object & properties (in QTP)
how to load all resource files(function libraries,object repositories etc) into tests without associating them?
What criteria do you use when determining when to automate a test or leave it manual?
what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar