| || |
Environment independent scripting- How?
I am testing a web application. I am using Test Complete 7 and recorded a test script in Developement environment(i.e. dev.), now I want to run the same script in production environment(i.e. www.). If anyone has idea about this, please help.
Scripting Language used:- VB Script.
Thanks in Advance!!!
Re: Environment independent scripting- How?
One tip would be to use project variables when you can. For example, in your URLs in the script,
gotoURL(Project.Variables.homeURL & "/pageUnderTest")
by abstracting it out into project variables you can be more versitile. I think this approach is low entry and easy to implement.
Another variation is using DDT instead of project variables to feed in the URLs and other variable items.