Import XMLHolder from script library
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022
06:29 AM
09-12-2022
06:29 AM
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)
Labels:
- Labels:
-
Scripting
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022
06:46 AM
09-12-2022
06:46 AM
@joshuavachon25, what happens if you add the following line into the script?
import com.eviware.soapui.support.XmlHolder
Karel@apimate.eu
https://apimate.eu
https://apimate.eu
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022
06:49 AM
09-12-2022
06:49 AM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022
07:08 AM
09-12-2022
07:08 AM
I found my error
Thank you
