Ask a Question

Instance To Instance

MarkSchofer
Frequent 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?

3 REPLIES 3
ebarbera
Staff

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

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...


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
MarkSchofer
Frequent Contributor

I am revisiting this as our user would like to use the wild card approach. I have Instance variables right now and they work fine.

 

cancel
Showing results for 
Search instead for 
Did you mean: