david_munro
10 years agoOccasional Contributor
Solved
Help when testing between 2 environments
I need help here. We have a product that publishes a webiste and gives it a unique URL.
The problem is when we publish the page in a new release on the test environment the URL changes.
This causes a problem because 1, the page cannot be found and any linked objects cannot be found either.
For example:
Test on R1 = URL dsofhdkasjfhasdfkljh Object HotSpot6
Test on R2 = URL oldfhjdklshsdljh;ldhji Object HotSpot6
Granted the URL is different but it still can't find the object.
How can I eassily update the URL's for the tests and have the objects updated too?
Thanks
D.
- We normally remove the URL from the properties used to identify the object as we run the same scripts across multiple environments.
Another option would be to use wildcards in the URL property as shown here: http://support.smartbear.com/viewarticle/54937/#InNameMapping