Forum Discussion

Jim_Zuber's avatar
Jim_Zuber
New Contributor
14 years ago

[Resolved]Common library script editing

I am using IntelliJ IDEA to edit common library groovy scripts (i.e. those placed in scripts/soapui/..). There didn't seem to be a way to do this from within SoapUI. However, IntelliJ doesn't recognize any of the soapUI objects, so it flags statement like the following as errors..

def runner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(testCase, null)

..I tried playing around with the project settings to point to the SoapUI library jar file in /lib, but had not luck. Perhaps the object reference is to some runtime environment. Guess I am a bit fuzzy on the the "com.eviware..." is referencing.

Any help would be appreciated.

Jim

2 Replies

  • Hi Jim,

    hmm.. this class is in the soapui-xxx.jar in the lib folder, also be sure to add the soapui-xxx.jar in the bin folder itself..

    does that help?

    regards!

    /Ole
    eviware.com
  • Jim_Zuber's avatar
    Jim_Zuber
    New Contributor
    Ole,

    Got it to work! Didn't have the project set up correctly. Just started over specifying a module and pointing it to my common library groovy scripts, then associating the module with the soapui-xxx.jar file.

    Thanks again for the great support.

    Regards,

    Jim