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
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
How to recognise the webelement and verifying that webelement is enabled?
What are the differences between quicktest professional and winrunner?
how to idetfy which test cases are automated?who will deside that plz tell me
Generic function to search for the unique link in webtable and click on it
How to get the particular property value?
What is action? How many types of actions are there in qtp?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
What is meant by Output Value in UFT?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
Hoe can we do retesting using functions please give the code for it using login page
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
What is CMMP and CMMH?
What are the different types of recording modes?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?