A webPage has a ComboBox with 10 values in it.
Write a script to select 4 vales from it using CTRL key
Answer Posted / sesibhushan
set listObj=Browser("micclass:=Browser").Page
("micclass:=Page").WebList("micclass:=WebList","name:=XXXX"
listObj.select "#1"
listObj.ExtendSelect "#2"
listObj.ExtendSelect "#3"
listObj.ExtendSelect "#4"
Note: This will work for combobox also.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
Where we can use the synchronization?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
can u please explain what is the exact difference between qtp8.2 and 9.0
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
How do know the number of browsers opened?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
Explain different checkpoints in qtp.
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?