ian1
March 21, 2018, 10:32am
1
OS : Windows 7
Katalon Studio Version: 5.1.3
**## Katalon Studio logs: **katalon.versionNumber=5.3.1katalon.buildNumber=1!SESSION 2018-03-21 10:19:51 - Pastebin.com
## Environment: N/A
## Steps to reproduce:
Open katalon studio, then open an existing project
Open a test case
Attempt to rename the open test case making sure to have a trailing space at the end
Observe error “Unable to rename the test case”
Re-open the test case
## Expected Behavior:
Test case content should still exist after renaming errors
## Actual Behavior:
Test case content no longer exists
ian said:
OS : Windows 7
Katalon Studio Version: 5.1.3
**## Katalon Studio logs: **katalon.versionNumber=5.3.1katalon.buildNumber=1!SESSION 2018-03-21 10:19:51 - Pastebin.com
## Environment: N/A
## Steps to reproduce:
Open katalon studio, then open an existing project
Open a test case
Attempt to rename the open test case making sure to have a trailing space at the end
Observe error “Unable to rename the test case”
Re-open the test case
## Expected Behavior:
Test case content should still exist after renaming errors
## Actual Behavior:
Test case content no longer exists
Can I ask why do you attempt to add trailing spaces at the end of your test case’s name?
Hello,
Any answer how to recover the original content please? I am in the same situation here.
Even in v8.3.0, this problem still persists.
I do not understand why Katalon team leaves this fundamental/primitive BUG unfixed
Hi @kazurayam ,
Are you using Windows 7 too?
And how do you make the renaming failed?
Nam Nguyen.
Hi @kazurayam ,
We tried to reproduce the issue on both Windows 10 and MacOS 12.0.1.
But the results are all the same: Renaming has no issue and the test case name is trimmed.
Could you please record and send us the video of the error and the error log?
Nam Nguyen.
I believe you haven’t tested a case where you have subfolders under the Test Case. Katalon Studio can not manages subfolders under the Test Cases folder properly.
Please follow the steps I described at
Katalon Studio v8.3.0.beta
macOS Monterey 12.2.1
I created a GitHub project where you can see the bug reproduced.
step1 I created a script Test Case/sub/TC1 , this had no problem
step2 I moved the script to Test Cases/sub/subsub/TC1 , this had no problem
step3 I renamed the script to Test Cases/sub/subsub/Main
step4 I renamed the script to Test Cases/sub/subsub/Test, Test Cases/sub/subsub/TestTest, Test Cases/sub/subsub/testesttest ---- and found that the script code has vanished.
The Git…
nam.nguyen:
Could you please record
No I wouldn’t. Making a movie is tiresome. The above GitHub repository has the branches step1, step2, step3 and step4; which you can easily checkout and see. That should be enough.
A Katalon Studio project contains 2 folder corresponding to a single Test case:
<projectDir>/Test Cases/sub/subsub/TC1.tc
<projectDir>/Scripts/sub/subsub/TC1/Scriptxxxxxxxxxx.groovy
Theoretically these 2 folders should be always in sync.
But I found the Script folder goes out of sync when I rename/move a Test Case. I believe, KS has a bug here.
1 Like
No update on this BUG yet?
1 Like
I just experienced this… and i’m sure now it explains why sometimes I felt like I was losing test scripts but wasn’t sure why. so I created about 10 test scripts and moved them to a different folder…tried to rename a few… after few hours when i came back,
the codes were deleted…just left with empty test cases.
i was able to retrieve some of them by going to Git and commit and checking the differences… before had code, after was null.
This is a critical issue and not something that should be in production system. Why is this issue not resolved? It’s been reported so many times.
I found a way to reproduce this problem, which has been left open over 4 years!
See
This post follows my previous post:
I believe that I have found out a procedure how to reproduce the incident (Test Case code is erased by Katalon Studio). So I would explain it here.
I used 2 machine environments. The issue was reproduced on both.
MacOS12.6 + Katalon Studio 8.3.0
Windows 10 + Katalon Studio Standard Editon 8.4.1
I did:
Create a new Katalon Project
Create a new Test Case at Test Cases/sub/subsub/TC1. The code is just skeltal as follows:
import com.kms.katalon.cor…
v10.3.2 still has a bug around moving/renaming a test case. See
I used Katalon Studio v10.3.2 on macOS 15.6.1
Problem to solve
I often make sub folders in the Test Cases tree to locate my test cases.
I do change the name of my testcases. I do change the name of sub folders.
I even move my testcases from a folder to another.
I repeat such “refactoring” to seak for the best state of the Test Cases tree.
During this refactoring, I encountered a serious defect of Katalon Studio.
step1
Initially, I had a testcase Test Cases/main/TC1 . The code was as follows…
1 Like
You can find a complete procedure to produce the bug:
I am going to retell my previous post with more details.
I used Katalon Studio v10.3.2 Free on macOS 15.6.1
Problem to solve
In my Katalon Studio projects, I often make sub folders in the Test Cases tree to locate my test cases. I do change the name of my testcases. I do change the name of sub folders. I even move my testcases from a folder to another. I repeat such “refactoring” to seak for the best state of the Test Cases tree. During such refactoring, I encountered serious defects of Katalo…
1 Like
Dear Mr Kazu,
I have passed on all necessary information for our PMs, thank you so much for your insights. We will keep you updated.
Bella