Katalon team have been aware of this problem over last 10 months and has left it unresolved. They seem to be busy developing something else. So I suppose that they would NOT be able to fix this problem in the near future. This problem may accidentally occur to anyone.
WARNING Someday your test case code may be erased by Katalon Studio.
How to help yourself? ---- Start using Git before the disaster.
I always use Git to make a fly-weight local backup of the project. The local Git repository will always rescue me from the glitches of Katalon Studio.
- I make local Git repositories for each of all Katalon projects of mine.
- Just before renaming a Test Case, I will commit the current “healthy” files into the main branch.
- I will create a temporary branch.
- I will check out into the temporary branch
- Then I will try renaming a Test Case.
- I will make very sure if renaming a Test Case hasn’t caused any troubles in the project. I will run full set of Test Cases to see the status of the project.
- When assured, I will commit all changes into the temprary branch;
- I will check out the main branch;
- I will merge the temporary branch into the main branch.
- I will make sure the main branch is OK, then delete the temporary branch
- At the step 6 if I found anythng wrong , I will check out the main branch where my healthy set of files remain unbroken. I will drop the dirty temporary branch away.
Git saves us all !