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
How is test case write?
How can I import environment from a file on disk?
In qtp, how you can exit for loop?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
What is the Difference between test object and run time object?
To which environments does quicktest professional (qtp) supports?
How to integrate the qualitycenter with qtp
The hybrid framework can be implemented for any application. Is it true?
What is the use of text output value in quicktest professional (qtp)?
what is command for executing files?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
Mention the different actions types of qtp.
what is the difference btn risks & Therads in the Test plan documentation?
What is the expert view?