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
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 |
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 |
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
WHAT IS OBJECT REPROSITORY?
What is the Difference between test object and run time object?
Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....
what is the Command used to start the QTp from Run.(start-> Run)
What is a data driven test in qtp?
what is the main use of reviews
I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.
What is the difference between Recover Scenario(screen) and on Error Resume Next(code)
several browsers opened. write QTP script to close all browsers except gmail.
Can we record an application running on a remote machine using qtp?
IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.