cancel
Showing results for 
Search instead for 
Did you mean: 

Instance To Instance

MarkSchofer
Contributor

Instance To Instance

We have Many testing instance (as does everybody else) and for this example I will run a test in one of our QA instances

 

qat1 

 

With my lack of deep knowledge to migrate a test I simply do a search and replace from qat1 to qat5


What is a more elegant methodology testing across instances?

2 REPLIES 2
ebarbera
Staff

Re: Instance To Instance

Hi @MarkSchofer -

Are you referring to instances meaning different urls?

For example:
http://qat1.test.com
http://qat2.test.com

And in what location are you trying to switch these? For example are you trying to have generic object references in your object repository? If so you can wildcard the portion of the URL that is changing.

If you are looking to alter this for different test runs navigation to the sites I would suggest using a variable to drive the URL you are navigating to. This way you can make the modification in one place at the variable.

Let me know if you have further questions.

Cheers,
Emma
Marsha_R
Community Hero

Re: Instance To Instance

Here's an archived thread that has some more details in it for you

https://community.smartbear.com/t5/TestComplete-General-Discussions/Keyword-Testing-in-different-Env...

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors