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


Please Help Members By Posting Answers For Below Questions

when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1834


Why qtp always start action1 and does not start action?

705


What is the basic concept of quicktest professional (qtp)?

671


How to interact tool & application build in QTP?

1555


How does qtp identify gui object?

667






Explain the difference between call to action and copy action?

610


what is run-time data?

1797


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1563


What is action split and the purpose of using this in qtp?

622


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2245


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2343


How would you directly trigger javascript in a test?

1547


what is the advantages and disadvantages of using functions instead of re usable actions

1517


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

698


What is the Difference between test object and run time object?

685