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


Please Help Members By Posting Answers For Below Questions

Is it possible to call from one action to another action in qtp?

556


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1181


what is output value in QTP and how it can be used in automation testing

1432


Did the scripts need lot of maintenance? If yes, why?

3294


Explain the use of action split in qtp?

560






what is object and child object.. explain ..if possible give some example for better understanding ..

1529


What is meant by Output Value in UFT?

557


How to get Traceability matrix from TD?

667


What is qtpro? What is a quick test professional?

579


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3269


Explain how qtp identifies object?

605


How does you pass optional arguments in qtp?

561


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1737


What are test settings and global settings?

577


What is the basic concept of quicktest professional?

529