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
Is it possible to call from one action to another action in qtp?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
what is output value in QTP and how it can be used in automation testing
Did the scripts need lot of maintenance? If yes, why?
Explain the use of action split in qtp?
what is object and child object.. explain ..if possible give some example for better understanding ..
What is meant by Output Value in UFT?
How to get Traceability matrix from TD?
What is qtpro? What is a quick test professional?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Explain how qtp identifies object?
How does you pass optional arguments in qtp?
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 ?
What are test settings and global settings?
What is the basic concept of quicktest professional?