Thanks much Manish
On Thu, Sep 17, 2009 at 10:59 AM, Manish Bhalshankar < [email protected]> wrote: > Create a EnvVariable.ini file with the following content: > > [Environment] > URL_ENV=http://www.google.co.in > > ____________End of file_____________ > > QTP --> File --> Settings --> Environment tab. > Select User-defined in Variable type dropdown. Check the Load variables and > values from external file checkbox and select the EnvVariable.ini file > (preferr giving relative path for the file). > > QTP -- > Automation --> Record and Run Settings. > Select - Open the following address when a record or run session begins > radio button. > > Now whenever you run the scripts, the browser will open the url mentioned > in the EnvVariable.ini file. The changes made in this file will be reflected > in all the scripts using this file. > > > > On Wed, Sep 16, 2009 at 3:57 PM, venkata bala subramanyam < > [email protected]> wrote: > >> Hi, >> Can u please give me the info ,how to use enironment varible? >> >> Regards, >> venkat. >> On Wed, Sep 16, 2009 at 12:05 PM, Manish Bhalshankar < >> [email protected]> wrote: >> >>> Using environment variable will be the best option for this so that the >>> url can be changed at only one location and will be reflected in all the >>> scripts. >>> >>> On Tue, Sep 15, 2009 at 8:28 PM, MANOJ KUMAR <[email protected]>wrote: >>> >>>> For this you need to do two things >>>> 1) Click on Record button and change the settings to Run on any >>>> opened Browser >>>> 2) In the begining of the script give >>>> SystemUtil.Run "iexplore", "http://sample.com" >>>> or U can also configure the URL from the >>>> data sheet >>>> then Use >>>> SystemUtil.Run "iexplore", URL >>>> where URL is the variable which holds your URL >>>> address >>>> >>>> For any QTP queries mail to my personal ID [email protected] >>>> >>>> Thanks and Regards >>>> M.Manoj Kumar >>>> On Tue, Sep 15, 2009 at 7:59 AM, nadzirah >>>> <[email protected]>wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> I'm a newcomer in QTP and I have done automation for one URL. >>>>> But then I have to run the QTP script back in different URL. So , now >>>>> the problem is I don't know how to change the URL in the script and I >>>>> have about >80 test script. >>>>> >>>>> I hope anybody in this group can help me.. >>>>> Thanks >>>>> -Nad >>>>> >>>>> >>>>> -- >>>>> Thanks and Regards >>>>> M.Manoj Kumar >>>>> >>>>> >>>>> >>> >>> >>> -- >>> Regards, >>> Manish | HPCP >>> >>> Messanger IDs: >>> Skype: manishbhalshankar >>> Yahoo: manishbhalshankar >>> GTalk: manishbhalshankar >>> >>> >>> >>> >> >> >> -- >> Venkata Bala >> >> >> >> > > > -- > Regards, > Manish | HPCP > > Messanger IDs: > Skype: manishbhalshankar > Yahoo: manishbhalshankar > GTalk: manishbhalshankar > > > > -- Venkata Bala --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
