Forum Discussion
nmrao
Champion Level 3
It is a bit confusing.
The link you mentioned has step to retrieve the environment name using groovy only.
And the command line option you mentioned is to set the environment.
So, do not understand the problem.
The link you mentioned has step to retrieve the environment name using groovy only.
And the command line option you mentioned is to set the environment.
So, do not understand the problem.
stef
8 years agoOccasional Contributor
Dear Rao,
When the SoapRunner.bat is used to run a test, the environment can be supplied using that -E command line parameter.
Now inside my test, I want to use a groovy script to retrieve the value for this -E command line parameter so that I can determine the environment. This environment is then used by the script script to do some specific business logic. (I don't want to use the saved selected environment from the project, but I want to use this value.)
- nmrao8 years agoChampion Level 3do you mean testrunner.bat?
Related Content
- 2 years ago