08-21-2011, 12:58 PM
Hi,
I have 2 environments(Staging and Production).In Both environment I have the same funtionalities.So I Wrote a configurble file and I recorded one script for Staging.Now it is working for Staging env.
------------------------
Prodution has the exacly same functionality what staging has.Now I wouldlike to use the sameStagingQTPScript for Production
I didnt record anything for Production Environment,so QTP didn't learn anything in product environment.
I am able to launch the production environment using my configurable file,so After the Launch of the Production environment webpage,
QTP enters into Staging Script.How can I make this Staging Script as a
Common Script for both Environment?Because,Browsername,Page name,somelink names are varing in both environment)
In Staging
Browser(Staging.ab.com).Page(Staging.ab.com)....
In Production
Browser(Production.ab.com).Page(Production.ab.com)....
Any hint?
Thanks in AdvanCe
Uma
I have 2 environments(Staging and Production).In Both environment I have the same funtionalities.So I Wrote a configurble file and I recorded one script for Staging.Now it is working for Staging env.
------------------------
Prodution has the exacly same functionality what staging has.Now I wouldlike to use the sameStagingQTPScript for Production
I didnt record anything for Production Environment,so QTP didn't learn anything in product environment.
I am able to launch the production environment using my configurable file,so After the Launch of the Production environment webpage,
QTP enters into Staging Script.How can I make this Staging Script as a
Common Script for both Environment?Because,Browsername,Page name,somelink names are varing in both environment)
In Staging
Browser(Staging.ab.com).Page(Staging.ab.com)....
In Production
Browser(Production.ab.com).Page(Production.ab.com)....
Any hint?
Thanks in AdvanCe
Uma