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.select "#2"
listObj.select "#3"
listObj.select "#4"

Note: This will work for combobox also.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of qtp?

576


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2487


what frame work you are following?

1522


How to handle dynamic objects in quicktest professional (qtp)?

544


Why is Client side image is preferred over server side image?

1437






What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

703


How to get Traceability matrix from TD?

667


Can anybody post some real time scenario in qtp? please its very urgent.

1799


What are benefits of qtp?

577


What is the difference between byref and byval in qtp?

579


What is object spy in quicktest professional?

615


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1577


Mention the test steps of qtp.

536


How you know that a test case is a regression test case

3055


How would you export a script from one pc to another in qtp?

655