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