Same repository for different Base path urls
Posted: Fri Jun 06, 2014 10:24 am
Hello,
I need to test my Web Automation on different machines/ deployments.
The application to test will stay the same but the Base url will change.
I also do not want to spend much effort to adjust the Test Automation whenever the application base path changes.
For my User Code Modules this is simple.
I just need to define the Base URL in a common variable.
For repository items I have not found a good approach by now.
How can I automatically change the Base Path of the Repository?
Editing the Base Url of Repository items is not a good solution for me.
My first idea was to change the Url in the Init Method by User Code.
In the docu I see its not recommended to change the Base Url of Repository elements.
Thanks for any suggestions
I need to test my Web Automation on different machines/ deployments.
The application to test will stay the same but the Base url will change.
I also do not want to spend much effort to adjust the Test Automation whenever the application base path changes.
For my User Code Modules this is simple.
I just need to define the Base URL in a common variable.
For repository items I have not found a good approach by now.
How can I automatically change the Base Path of the Repository?
Editing the Base Url of Repository items is not a good solution for me.
My first idea was to change the Url in the Init Method by User Code.
In the docu I see its not recommended to change the Base Url of Repository elements.
Thanks for any suggestions