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 |
how to test one edit box using Java addin for Web Applications? write script?
describe common problems of test automation?
what is key word driven frame work how to use keyword driven frame in QTP in a project
Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
1)how to write test cases in test director? not go throuth requirments and plan but should be different way i need? 2)what is the mediator between qtp and application or project?
I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?
How QA specialist can identify when programmatic descriptions are useful?
can we run the scripts of qtp 8.2 in the qtp7.0?
Can we record using all the modes in a single script? Explanation with example is appreciated
Mention what are the different types of recording modes in qtp? Which will be used when?
what is option explicit?
What are the main differences of qtp and win runner?