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 |
Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback
In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?
What is Optional step?
what is the difference between the modular framework and datadriven frame work
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......
How can we translate the steps between the Keyword and Expert Views?
how to test one edit box using Java addin for Web Applications? write script?
what is the extension of new local object repository?
Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..
How do you send email with attachment from outlook using qtp ?
how to calculate no. of repeating characters in a a string..please give me the code
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......