Forum Discussion

AnnaG's avatar
AnnaG
New Contributor
7 years ago

binding groovy classes in ReadyAPI

Hello,

 

My question is about  binding groovy classes in ReadyAPI, and using a class in another class.

ReadyAPI doesn’t seem to be able to recognize a class when it is imported or used in another class.

The error message says:

“unable to resolve class”.

But there’s no problem, to use that ‘unknown’ class directly in a groovy script – so the configuration of the script folder path is ok.

 

Any help will be much appreciated.

Thank you,

 

Best regards,

 

Anna

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    Would you like to share your script for review?

    How did you create multiple classes?

    Have you created them separate in an IDE, prepared .jar file and copied it under READYAPI_HOME/bin/ext directory and restart the tool?

    Did you import the along with qualified package?