ContributionsMost RecentMost LikesSolutionsRe: [Resolved] Possible to clear Log Output console using Groovy Actually it should be: com.eviware.soapui.SoapUI.logMonitor.getLogArea("Script log").clear() Note the capital S. Re: What is the use of representations? Good question. It seems that even more state-data is persisted in the project.xml file (e.g. lastrun time or some project custom properties) The values from properties in a PropertiesStep in SoapUI are also saved to the project XML ? It seems that dynamic generated proeprties, which are saved in a PropertiesStep with a Groovy script like: testRunner.testCase.testSteps["DynamicProperties"].setPropertyValue("MyId", "abc") Are persisted in the XML project file: <con:testStep type="properties" name="DynamicProperties" id="d211dd62-4875-4b60-bde8-cb542fa7df47"> <con:settings/> <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <con:properties> <con:property> <con:name>MyId</con:name> <con:value>abc</con:value> </con:property> </con:properties> </con:config> </con:testStep> Which is not what I want, because when this value is dynamic (like a timestamp), the XML project file is updated each time I run a test ? Re: How to retrieve the selected environment from the command line (-E) in a groovy script? I don't think that statement testRunner.testCase.project.getActiveEnvironment().name is not correct. I have the feeling that the value saved in the project-url is overwrting the value on the command-line. I'll do some more testing. Re: How to retrieve the selected environment from the command line (-E) in a groovy script?Indeed. TestRunner.bat Sorry for the confusion.Re: How to retrieve the selected environment from the command line (-E) in a groovy script? 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.) How to retrieve the selected environment from the command line (-E) in a groovy script? Hi all, I know how to retrieve the active environment from the project (UI) using this solution. However I want to know how to get the environment which is provided as a commandline parameter (e.g. when started via soaprunner.bat) like : -ELOCAL_ENV Is this possible with groovy scripting ?