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
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
what function you write to do database testing with the help of qtp?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Explain the difference between data driven testing and parameterization ?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
How to modify the text checkpoint?
How to capture all the data of a webtable, weblist and combolist using QTP?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
after click on compose mail how can we attached a file in qtp with vbscript code
What is the synchronization point in qtp?
Define object spy ?
Explain the types of object repository?
How will you find the current time of the remote machine using QTP script?