Hi everyone,
After resolving a git merge in a test case I bumped into weird errors. It says:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script1634030048777.groovy: 1: expecting EOF, found ‘static’ @ line 1, column 9.
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
^
1 error
No matter what I write into the first line, it will always have some error in it.
For example if I leave it empty:
Invalid variable name. Must start with a letter but was:
. At [1:1] @ line 1, column 1.
^
1 error
If I write a comment:
Invalid variable name. Must start with a letter but was:
. At [1:1] @ line 1, column 1.
//comment
^
1 error
If I try to import anything else:
unable to resolve class Keys
@ line 1, column 34.
import org.openqa.selenium.Keys as Keys
^
1 error
I must be blind, but can’t find anything related here, or anywhere else in the script.
Any idea is welcome.
thanks
d