AnsweredAssumed Answered

How to point a test at different environments based on a setting?

Question asked by John Arrowwood on Jan 8, 2016
Latest reply on Jan 11, 2016 by Salvador Camacho Reyes

I'd like to be able to run the same test in DEV, QA, PERF, or even PROD.  I need to set a variable, somewhere, which says which environment to pull from.  Then everything else keys off of that variable to set things like targets and feeders, etc.  In other tools, I would set an environment variable which was picked up by the tool and all the test elements would use the value of that variable when looking for the various pieces that it needed.

 

How do I do the equivalent in CloudTest?  I need a solution that works equally well for a manual test execution as it does from an automated test launch (e.g. CI build/test cycle) and would not preclude simultaneous execution.  Which means, no tweaking test definitions at run time.

Outcomes