Please use arrays for the same

On 20 January 2012 16:53, syed rowff <[email protected]> wrote:

> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "January"
> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "February"
> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "March"
> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "April"
> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "May"
>
> the above example, user manually selecting the month name. inserted of
> using for loop, it's select all month name in one line
>
> Ex:
> For nRow = 1 To 12
> Browser("Welcome: Mercury Tours").Page("Find a Flight:
> Mercury").WebList("toMonth").Select "January"
> nRow = nRow + 1
> Next
>
> when loop is running, it's should select month name from WebList box
> "January" in first iteration
> febraury in 2nd iteration
> march in 3rd iteration
> ..
> like so on
>
> --
>
> -Syed Rowff
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to