A webPage has a ComboBox with 10 values in it.
Write a script to select 4 vales from it using CTRL key
Answer Posted / 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 |
Post New Answer View All Answers
How to replay a script in qtp?
Define virtual object?
What is difference between shared and local object repository?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
How software tester can use constants and variables in scripts?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Explain types of output values?
what r the main attributes of test automation?
How to customize checkpoints with parameters?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How you will rate urself in QTP in the range of 0 to 5
what is the hierarchy to use properties in descriptive programming
What is QTP testing process?
i can done the project with QTP in that time i can say how many members in my team size?