We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi,
Unless you made a typo, I think you need to either use the * wildcard to import the whole assertions package e.g.
import com.eviware.soapui.impl.wsdl.support.assertions.*
Or pick out a particular class to import from that package e.g.
import com.eviware.soapui.impl.wsdl.support.assertions.AssertableConfig
Make sense?
Regards,
Rup
Hi,
Unless you made a typo, I think you need to either use the * wildcard to import the whole assertions package e.g.
import com.eviware.soapui.impl.wsdl.support.assertions.*
Or pick out a particular class to import from that package e.g.
import com.eviware.soapui.impl.wsdl.support.assertions.AssertableConfig
Make sense?
Regards,
Rup
The actual class I'm trying to import is
com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry
From my script
import com.eviware.soapui.config.AssertionEntryConfig
import com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry
import com.eviware.soapui.config.*
and I still get
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script19.groovy: 2: unable to resolve class com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry @ line 2, column 1. import com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry @ line 2, column 1. at .....
I copied the name from
That class com.eviware.soapui.impl.wsdl.teststeps.assertions.
Ohh..my bad. Makes sense. thanks a lot.
Now I have to find a way how to create an assertion with goovy