Write the code for select the 5 values from drop down list.
drop down list having the 10 values.

Answer Posted / pavani prasad

we can select more than one value from drop own list by
using "extendedselect" option

Browser(" ").Page("").WebList("").Select " first item"
Browser(" ").Page("").WebList("").extendeSelect "#1"
Browser(" ").Page("").WebList("").extendedSelect "#2"

Browser(" ").Page("").WebList("").extendedSelect "#3"

Browser(" ").Page("").WebList("").extendedSelect "#4"

or

if the items are consecutive, then

for i=0 to 4

Browser(" ").Page("").WebList("").extendedSelect ("#"&i)

if i am worng pls correct me

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

4104


How you can find the absolute value of the number in qtp?

749


How to break the object spy ?

879


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2112


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1923


Can you write a script to check if the folder exists or not?

727


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

2059


assume i have few url link how will i dynamically call then using descriptive programming?

1797


Can we create a qtp test from qc?

800


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1881


How do you create new test sets in td?

716


What are the advantages of a Hybrid framework?

835


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1657


What is the new version of qtp which is recently released in the market?

847


How to find the difference between 2 dates in qtp?

817