Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello,
Why are doing this:
If you are doing this from Groovy test step than you can access to project it belongs to with:
What do you mean running a groovy script outside a project? You can have external scripts in scripts folder under {soapui.home}/bin or in some other folder but that you have to point your project to it( set Script Library property ).
Let me know does this helps,
robert
Why are doing this:
WsdlProject project = new WsdlProject("D:\\soapui-release-B\\ReleB-auto-soapui-project.xml");
If you are doing this from Groovy test step than you can access to project it belongs to with:
context.testCase.testSuite.project
What do you mean running a groovy script outside a project? You can have external scripts in scripts folder under {soapui.home}/bin or in some other folder but that you have to point your project to it( set Script Library property ).
Let me know does this helps,
robert