Repository Items and Multiple Test Servers
Posted: Fri Sep 13, 2013 8:21 am
Forgive me if I'm missing the obvious on this one but I'm getting myself confused with too many things to do so wanted a clear answer from people who know!
My project has two web servers. One is used to test new developments and one is used to test bug fixes to the last released build. Let's call these servers www.server1.com and www.server2.com.
Now, I have built a number of tests on www.server1.com and these run absolutely fine. I now want to run the same tests on www.server2.com so I change the URl the tests open and run it. It fails. Now this is because it can't find the reposiotry items it is looking for as it expects them to be within a parent called www.server1.com. I have two questions:
1. How do I change the repository items to understand that www.server2.com is the same as www.server1.com?
2. Can I make the repository items generic so it doesn't matter which server I am running them on?
Thanks in advance!
My project has two web servers. One is used to test new developments and one is used to test bug fixes to the last released build. Let's call these servers www.server1.com and www.server2.com.
Now, I have built a number of tests on www.server1.com and these run absolutely fine. I now want to run the same tests on www.server2.com so I change the URl the tests open and run it. It fails. Now this is because it can't find the reposiotry items it is looking for as it expects them to be within a parent called www.server1.com. I have two questions:
1. How do I change the repository items to understand that www.server2.com is the same as www.server1.com?
2. Can I make the repository items generic so it doesn't matter which server I am running them on?
Thanks in advance!