you can declare global variables in two ways

First menthod:

Declare at the beginning of the VBS file without using any calss.So by
default it is treat as Global
Eg: Dim strUsername

Second Method:

Public strUsername.This should be declared at tge beginning of the VBS fiel


Thanks,
Bhuvan
On Fri, May 13, 2011 at 8:46 PM, ann hoang <[email protected]> wrote:

>   Please help..how do you declare as a global in quicktest?
> Please give me some examples.  Many thanks
>
> Ann
>
> --
> 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