Ask a Question

Import XMLHolder from script library

joshuavachon25
New Contributor

Import XMLHolder from script library

How can I import com.eviware.soapui.support.XmlHolder from a script in the scrips folder? (From a .groovy file in ReadyAPI-3.40.2\bin\scripts)

3 REPLIES 3
KarelHusa
Super Contributor

@joshuavachon25, what happens if you add the following line into the script?

 

import com.eviware.soapui.support.XmlHolder

 

Karel@apimate.eu
https://apimate.eu

I get:

 

BUG! exception in phase 'semantic analysis' in source unit 'Script29.groovy' The lookup for TestManager caused a failed compilation. There should not have been any compilation from this call.
See Error Log for details.


TestManager is the name of the class I created in my .groovy

I found my error

 

Thank you

cancel
Showing results for 
Search instead for 
Did you mean: