Forum Discussion

jack_1's avatar
jack_1
Occasional Contributor
12 years ago

Changing the server tests run on

The web app I am testing is hosted on multiple servers, one for testing, one for a backup, and one for the live site, such as branch.mywebapp.co.nz, trunk.mywebapp.co.nz, www.mywebapp.co.nz. (Those aren't the real site obviously.) Until now, I have been running my tests on branch, but due to some changes in our testing process it would be very useful to run them on trunk instead. What would be the fastest and/or easiest way to get my tests to run on trunk?



As I understand it, seeing as the namemapping for each page includes the url, I either have to go to every individual page in namemapping and change them from branch to trunk, or rewrite all the tests in a new project. Given the number of tests I am running and that I have altered the name-mapping manually quite a lot, it would probably take several days work to transfer it. Is there any way around this?
  • jack_1's avatar
    jack_1
    Occasional Contributor
    Nevermind - After more searching I found that you can use search/replace in name mapping, including on the properties, so I did a replace on branch to trunk, and this solved my problem.