I am trying to build a groovy class that holds common methods. Getting this error and not sure how to fix
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Compilation incomplete: expected to find the class pages.manage.Common in file:/Users/jsmithers/groovy/Development/groovy/automation/qa-automation/pages/manage/Common.groovy, but the file contains the classes: Common
Here is the import line in my other script
import pages.manage.*
Thoughts?
you need to specify the package in the script you are including, like 'package pages.manage'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With