Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Capture current Environment being tested
goofy78270
Posts: 133 ✭
in SOAtest
Within a run of a test, is there a way to capture the current Environment that the test is being executed against? I know I can add a variable to each environment with it's name, but that is not ideal for our 40+ environments across multiple test suites.
Looking for something like scriptingContext.getEnvironmentName or similar
0
Answers
-
SOAtest doesn't currently have a way to do this outside of what you suggested.
0 -
There does not appear to be any public API to get the currently active Environment name within a run of a test suite.
0