Forum Discussion
No RepliesBe the first to reply
Related Content
- 11 years ago
Recent Discussions
- 6 days ago
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?