Running project through Groovy script if the test was started with a command line
Is it possible to run a project by a Groovy script if the project was running with a command line. I know it is possible if the original groovy script is running in soapui like this. def getProjectName=testRunner.getTestCase().getTestSuite().getProject().getWorkspace().getProjectByName(Project) getProjectName.run(new com.eviware.soapui.support.types.StringToObjectMap(), false)
But this doesn't work if the groovy script was running from a command line because there is no workspace. Is there a way?