Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHi!
When running from the command-line the workspace is not loaded, only the specified project. Your script could check if SoapUI.workspace is null, and if it is it could load the workspace itself via the WorkspaceImpl( path, null ) constructor and then enumerate its projects in the same way as you have done already.
Hope this helps!
regards,
/Ole
eviware.com
When running from the command-line the workspace is not loaded, only the specified project. Your script could check if SoapUI.workspace is null, and if it is it could load the workspace itself via the WorkspaceImpl( path, null ) constructor and then enumerate its projects in the same way as you have done already.
Hope this helps!
regards,
/Ole
eviware.com