I use Katalon Studio 7.2.1 on Mac OSX Catalina. I believe other versions have the same problem, on Windows as well.
Let me show you an example with screenshots. I have a sample project on GitHub
- GitHub - kazurayam/junit4ks: JUnit for Katalon Studio. A Groovy class enables you to run JUnit4 for your custom keyword classes in Katalon Studio
You can download the zip of this project, unzip it and open it with your local Katalon Studio.
In the junit4ks project, as an initial state, I had a pair of Groovy scripts
Keywords/junittutorial/Calculator.groovyInclude/scripts/junittutorial/CalculatorTest.groovy
I wanted to refactor the package name. I wanted to renamed the package junittutorial to my.tutorial.
I could successfully renamed the Keywords/junittutorial package to Keywords/my.tutorial by choosing Rename menu in the Tests Explorer of Katalon Studio.
Ok, next, I wanted to refactor the package name in the Includes directory. I chose Rename menu for the Include/scripts/groovy/junittutorial in the Tests Explorer of Katalon Studio. I typed new package name my.tutorial. Then I got rejected by Katalon Studio. KS rejected it because Inputted name already exist
I think, KS should NOT reject renaming a package in the Include to a newPackageName even when Keywords/newPackageName already exists.
This behaviour makes refactoring codes in the Include subfolder difficult.
please put this issue into your backlog



