How can i select multiple items from a WebList bOX USING QTP

Answer Posted / sri satya

Hi,
You can select multiple items from the Web List by using
ExtendSelect.
For Ex:

Browser().Page().Weblist(WebListName).Select(WebListValue1)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue2)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue3)
.................. ....... (WebListValue4)
.................. .......(WebListValue5)

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Samrat, Thank u very much, what u said it is right.

1679


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1645


write script for bitmap image?

1793


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1748


What are the advantages of qtp?

793


How many types of run modes are there in qtp?

813


What are advantages of test automation?

920


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1640


What are the factors on which script execution time is dependent?

828


Explain step generator in qtp?

877


What is text/text area checkpoint?

833


unique properties of button,edit box, radio button,check box?

4147


Explain the concept of object repository and how QTP recognizes objects?

769


How will you check a web application for broken links using qtp?

797


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

816