How can i set default java scripts in custom keyword?

In katalon tool the default keyword scripts in groovy Screenshot by Lightshot , and while i am converting into java code my facing errors Screenshot by Lightshot.

Hi… i am also getting the same problem,will you please let me know how to change custom keywords from default Groovy code to java code


Please use ; in the end of syntax. As there is not ‘as’ keyword in Java you need to remove them and create an instance in code as you do in java.


Convert it to as java file , . And let me know how configure java as default script in katalon.

Hi there,

I don’t observe the same issue like you: Can you send me your project, or show me what do you observe from ‘Problem’ tab?