Ask a Question

Testing in Different URLs

sdshin14
Occasional Visitor

Testing in Different URLs

Hi!

 

So what I have are keyword tests created from a main URL. But now the main URL is down, and we have a clone URL,

but the main URL was in every keyword test so it doesn't recognize the clone URL. Is there a way I can change the main URL in every keyword test to the clone URL?

 

P.S. There is no name mapping involved! Would really appreciate any help Thanks!

1 REPLY 1
Marsha_R
Community Hero

You can do a find/replace, which would solve it for now, but I would recommend using a variable for the URL and putting that in your tests in the places where the actual URL is instead of putting the clone URL everywhere.  That way, next time you need to move, you only have to change the variable value in one place and not your code in many places.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: