Ask a Question

Dynamically managing ReadyAPI Environment from TestComplete

SOLVED
thePantz
Contributor

Dynamically managing ReadyAPI Environment from TestComplete

Hello,

 

I'm creating a Keyword test that calls a ReadyAPI test.

ReadyAPI manages my endpoints which are different per environment e.g. Staging, Demo, Test

 

My Testcomplete project also manages environments via a spreadsheet.

The issue is I can't find a way to configure my environment for both apps in one unified place.

 

When I add a ReadyAPI test to my TestComplete project, I see a dropdown where I can manually set the environment I want them to run against. Or I can specify command-line arguments... but these seem to be static data that can't be parameterized.

 

Does anyone have any ideas how I would do this?

 

TLDR: How do you control the environment TestComplete is using and the Environment SoapUI is using in one unified place?

 

3 REPLIES 3
cunderw
Community Hero

I don't think there is a way to change those at run time. You could setup multiple ReadyAPI project items inside of Test Complete and use code to determine which one to run based on environemt, at least that's how I would approach it. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

Thanks cunderw,

 

That's disappointing news... Your suggestion will work but I fear I'll have a great deal of essentially duplicate ReadyAPI items as I will have to create 2-3 items per TestCase...

 

I will submit a feature request but will try this in the meantime.

tristaanogre
Esteemed Contributor

ReadyAPI integration with TestComplete, as I understand it, is simply to use TestComplete as the vehicle by which the test are executed.  Anything that needs to be manipulated within the ReadyAPI test has to be done within the ReadyAPI tool itself and the configurations found there.

 

That's the current design at least.  A feature request is the way to go if anything other than that is desired.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: