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 values from drop down list using
vb script in qtp?
and wt is the script for clicking msg box box automatically
with a specific time.

Thanks in advance...Kalyani.

Answers were Sorted based on User's Feedback



How can i select multiple values from drop down list using vb script in qtp? and wt is the script..

Answer / sasmita

object.ExtendSelect Item -> This you can use to select
multiple items from a drop down list.

Ex:
'The following example uses the ExtendSelect method to
select multiple, non-consecutive items in a list.

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList("Entrees").Select "Hamburger"

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList
("Entrees").ExtendSelect "ChickenSandwich"

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList("Entrees").ExtendSelect "HotDog"

Is This Answer Correct ?    8 Yes 2 No

How can i select multiple values from drop down list using vb script in qtp? and wt is the script..

Answer / bhargavi

Set x =CreateObject(”WScript.Shell”)
x.Popup “message content”, 5, “msg header”, (0+48)

the above code will close the msgbox after 5sec

but where as selecting multiple items in a list box i never
tried it

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More QTP Interview Questions

what is the difference between invoke application and system.util.run

24 Answers   HP, Syntel,


Explain in brief about the qtp automation object model (aom).

0 Answers  


In Keyword driven frame work you have write 30 test case for one scenario,in which 10 test cases are failed while executing.client asked you to execute only the failed test cases. HOw can you execute only failed test cases

2 Answers   IBM,


please send detail navigation for merging of object ripositories in QTP 8.2

3 Answers   Infosys, Ordain Solutions,


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


What type of VB script u had done in expert view?

1 Answers   HCL,


Which scripting language used by QTP?

1 Answers  


How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.

4 Answers  


Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .

1 Answers   AppLabs,


What are the different ways to invoke an application using QTP?

0 Answers  


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


Categories