Forum Discussion
alibaba82
18 years agoSuper Contributor
Hello Ole,
I am having a little problem when using scriptcom + global groovy script + running from testrunner.
I have a groovy script in my script library - verify email in which i have an import statment
import org.codehaus.groovy.scriptom.ActiveXProxy
I call this verifyemail script from within my testcases. When I run from GUI view, the test passes with no problem. However when I run the test from command line using testrunner, I get the following error
Status: FAILED
Time Taken: 10
Size: 0
Timestamp: Thu Jul 19 11:10:58 PDT 2007
TestStep: VerifyEmail
Error:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 4: unable to resolve class soapui.Tvguide.ReusableScripts.VerifyEmail
@ line 4, column 14.
1 error
startup failed, Script1.groovy: 4: unable to resolve class soapui.Tvguide.ReusableScripts.VerifyEmail
@ line 4, column 14.
1 error
When I comment out import org.codehaus.groovy.scriptom.ActiveXProxy and run from command line it works fine. Seems like the scriptcom libraries are not getting loaded when running from command line
This one is urgent, quick reply would be really appreciated.
Thanks
Ali
I am having a little problem when using scriptcom + global groovy script + running from testrunner.
I have a groovy script in my script library - verify email in which i have an import statment
import org.codehaus.groovy.scriptom.ActiveXProxy
I call this verifyemail script from within my testcases. When I run from GUI view, the test passes with no problem. However when I run the test from command line using testrunner, I get the following error
Status: FAILED
Time Taken: 10
Size: 0
Timestamp: Thu Jul 19 11:10:58 PDT 2007
TestStep: VerifyEmail
Error:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 4: unable to resolve class soapui.Tvguide.ReusableScripts.VerifyEmail
@ line 4, column 14.
1 error
startup failed, Script1.groovy: 4: unable to resolve class soapui.Tvguide.ReusableScripts.VerifyEmail
@ line 4, column 14.
1 error
When I comment out import org.codehaus.groovy.scriptom.ActiveXProxy and run from command line it works fine. Seems like the scriptcom libraries are not getting loaded when running from command line

This one is urgent, quick reply would be really appreciated.
Thanks
Ali