Forum Discussion

david_munro's avatar
david_munro
Occasional Contributor
11 years ago

Updating test environment URL's


Hi,



I created a bunch of tests in our DEV environrment and need to run them in our UAT envirnment, however, the URLs differ. Pages exactly the same, just different environemnt details etc...



Is there an easy way to change the URLs without having to manually update all the tests?



Thanks



David.


  • Do you use nameMapping or just scripts?



    Using scripts you can replace the string of your URL for a variable, this way you can update it when you want.



    The same goes for nameMapping, you just need to change the URL for a Project Variable.
  • jose_pita's avatar
    jose_pita
    Super Contributor
    Do you use nameMapping or just scripts?



    Using scripts you can replace the string of your URL for a variable, this way you can update it when you want.



    The same goes for nameMapping, you just need to change the URL for a Project Variable.