A webPage has a ComboBox with 10 values in it.
Write a script to select 4 vales from it using CTRL key
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shiva
Sub ExtendSelect_Example()
'The following example uses the ExtendSelect method to sele
'Socks from a list of clothing after Jeans has already been
selected.
Browser("index").Page("Fill-Out Form_2").WebList("what-to-
wear").Select "Jeans"
Browser("index").Page("Fill-Out Form_2").WebList("what-to-
wear").ExtendSelect "Socks"
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
Hi Recently I Attend one interview .The intervier ask on Question in QC 9.2 . The Qus was while ruuning the Batch RUNS scripts in test lab if defect will comes .The defect automaticly wants to genate . How to Configure in QC . Thank You Balaji
what are the different kinds of frameworks in automation?
Define Error Pane of UFT?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
What is iteration? How it is related to Test Results in QTP?
How to make arguments optional in a function?
HOW TO DO THE BATCH TESTING USING QTP?
when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.
What are the Application Functions available in QTP?
What is the difference between byref and byval in qtp?
How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error
can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance