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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we analyze the checkpoint results?

578


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1441


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1405


How do you create regression test packs?

608


How do know the number of browsers opened?

622






Plz Explain AUTOMATION REFERENCE MODEL?

1681


Explain quicktest professional testing process?

558


What is the difference between rational rose and QTP?

1776


assume i have few url link how will i dynamically call then using descriptive programming?

1599


What are the benefits of quick test pro(qtp)?

558


in my application,validation message has in japanise language.how to validate this message is appears properly or not

1516


Hai anyone please "Explain about Framework in QTP?"

1616


What are the types of object repositories? Which one is you are using?

628


How did you resolve conflicts present in Object Repository?

1611


Explain how qtp identifies object?

606