Multiple Environments

Ask general questions here.
VictorE
Posts: 4
Joined: Wed Oct 24, 2012 8:04 pm

Multiple Environments

Post by VictorE » Wed Oct 24, 2012 8:10 pm

How can I record a script in one test environment and play it back in another?

have multiple test environments in which to execute my test scripts. The server URL is different for each environment. How can I avoid rewriting all of my tests from scratch to make them work with a different server URL?

Let's say we want to run the same test against the application MyApplication deployed on two servers: http://Server1 and http://Server2.

We open the application from the URL http://Server1/MyApplication and record our script. We would like to easily reuse the script on http://Server2/MyApplication

Is there a base url option?

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Multiple Environments

Post by Ciege » Wed Oct 24, 2012 8:50 pm

Variables...

Read the user guide about them. Learn them... Love them...

http://www.ranorex.com/support/user-gui ... ables.html
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...