How to get Active Environment Name in Extension Tool in Parasoft SOAtest
Options
rajaswamynathan1978
Posts: 3 ✭
in SOAtest
I want to pass active Environment name into my custom report. Wanted to know how to get the active environment name using Java
0
Comments
-
There is no API to get the active environment name. But you could solve it a different way. You could add a new environment variable that has the same value as the name of the environment. Then you can use the scripting API com.parasoft.api.ScriptingContext.getEnvironmentVariableValue(String name) to get the value of the variable - which will get the value for the variable in the currently active environment.
0
