Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

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

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

Post New Answer

More QTP Interview Questions

What expansion of "MIC" in MICPASS (TEST ReportPAGE)

11 Answers   TCS,


How many types of Parameters are available in QTP? and Pls Explain with example.

4 Answers   LG Soft,


What's Checkpoints for QTP?

1 Answers  


What is the "Release Notes", what it cosists? Key components in Release Notes ?

2 Answers  


What does it mean when a check point is in red color? What do you do?

0 Answers  


When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?

6 Answers  


what is the Descriptive Progarmming? how it is help to testers in QTP?

4 Answers   TCS,


What are the types of properties that quick test learns while recording?

0 Answers  


What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?

1 Answers  


what type of test cases tou will automate?

4 Answers   Google,


Can you expect major bugs in Net banking Application?

1 Answers  


Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?

2 Answers  


Categories