Working Script Code will be auto formating and than doesn't work

See Katalon’s docs how to develop Groovy classes in the Keywords folder:


You can add any type of custom Groovy classes under the Include/source/groovy folder. See Katalons doc:


You can add any type of custom Groovy classes under the Keywords folder or the Include/source/groovy folder. These 2 folders has no difference as a location to save the source of your custom Groovy classes: See the following post for further explanation: