This design is fragile: it sometimes causes a serious problem when you rename (or move) a test case in Katalon Studio GUI.
Katalon Studio has a long-outstanding bug. Katalon Studio sometimes fails to move the script code from the old ScriptXXXXXXXXXXXXX.groovy file into a new ScriptYYYYYYYYYYYYY.groovy file when you rename a Test Case. When it fails to move the script, you would lose the entire script. This is the worst bug. A programming tool like Katalon Studio should never erase the code that a user created. See more info about it.
Even in the v9.0 of Katalon Studio I sometimes encounter this bug recurring. Recently I published a topic where I developed a Test Case script that transforms an XML into another XML using XSLT. While I was writing the code, I carelessly renamed the Test Case once. Then, Katalon Studio erased my script due to the bug
. Unfortunately I had not yet saved the project into a Git repository. So I lost the script. I had to type the whole script again
.
Test Case in Katalon Studio is such fragile. Be careful in manipulating it !