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

Define Canvas view of UFT?

618


How to analyzing test results using quicktest professional (qtp)?

586


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1466


What is the use of sendkeys and what are send keys

1947


Explain how Does Run time data (Parameterization) is handled in QTP?

555






What are private functions in QTP? How they can be called from the function library?

634


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1299


How many add-ins comes by default with quicktest professional?

552


What is the use of ordinal identifier in qtp?

604


Describe function procedure in vbscript.

551


what is the difference between modular framework & datadriven framework

1595


How to define array in qtp?

574


what is stepin & stepout?

1420


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1507


What is standalone database?

1745