Hey buddy don't worry there is a good solution of your problem:-
First Declare the environment variable in scripting not with help of QTP as
follows---
Environment("*oURL*")=InputBox("*Enter the URL of Web-Site*")
Now put this environment as parameter of invoking IE as follows----
SystemUtil.Run"*iexplore.exe*",Environment("*oURL*")
Put these two lines in you Test and see the *magic*.............
On Thu, Dec 23, 2010 at 8:42 PM, Manoj Pulipati <[email protected]>wrote:
> Hi All,
>
>
> Do we have environment variables concept in BPT??
>
>
>
> In my application, I am having more than 500 test sets each and every test
> set has a login component.
>
>
> I need to execute all this 500 test sets in different environments; It
> would be difficult for me to change URL parameter in all the 500 test sets.
> Could you please suggest solution for this???
>
> Thanks
> Manoj
>
>
>
> --
> 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]<mercuryqtp%[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