# Test Case scripts in a folder whose name contains a dot after renaming are emptied!

**URL:** <https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [November 14, 2018, 1:44pm UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254 "2018-11-14T13:44:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drunda\_Nibel](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Drunda\_Nibel](https://forum.katalon.com/u/Drunda_Nibel)\
**Post date:** [November 14, 2018, 1:44pm UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254/1 "2018-11-14T13:44:51Z")

</div>

**## Operating System: Windows 10**

**## Katalon Studio Version: 5.8.6**

**## Katalon Studio logs: not relevant**

**## Environment (for Web testing): not relevant**

**## Environment (for Mobile testing): not relevant**

**## Steps to reproduce**

For systematic reasons, I tried to rename a Test Case folder within Katalon Studio in such a way that its name then contained a dot (‘.’). Katalon Studio neither warned me nor prevented me from doing it.

After that I got a hint to fix errors in the script before switching to the Manual View. But I couldn’t find any such errors in the open Test Case scripts. Since I had already guessed that Katalon Studio could not handle my renaming so well, I undone my change.

So far everything seemed to be fine. Until I reopened my project and found that all my Test Cases inside the previously renamed folder were completely empty except for the import lines block!

**## Expected Behavior**

Katalon Studio should prevent me from renaming a Test Case folder to a name that contains a dot if it can’t handle it! Under no circumstances should Katalon Studio empty or delete any Test Case scripts!

**## Actual Behavior**

Katalon Studio has emptied my Test Case scripts except for the import lines block!

\*\*## Screenshots / Videos: \*\*not recorded

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [November 15, 2018, 2:48am UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254/2 "2018-11-15T02:48:56Z")

</div>

Hi Druna,

There is a warning dialog displayed when you try to include dot character on rename dialog, therefore submit button will be disabled. I’ve tried and observed this behavior. So there is no warning dialog from your side? Can you reproduce it again?

Regards

---

<div class="post-metadata">

**Author:** ![Drunda\_Nibel](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Drunda\_Nibel](https://forum.katalon.com/u/Drunda_Nibel)\
**Post date:** [November 15, 2018, 8:17am UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254/3 "2018-11-15T08:17:46Z")

</div>

Hi Vinh,

yes, at least until the successful renaming I can reproduce the process. And there is definitely no warning, see here:

 ![](https://dub1.discourse-cdn.com/katalon/uploads/default/original/1X/6428444eaf841f4a58ef7c81c2a9ae3835b810c5.jpeg)

But this time it doesn’t seem to have caused any problems with my example Test Case. However, this was now very simply structured, as was the entire Test Suite.

The result after confirmation:

 ![](https://dub1.discourse-cdn.com/katalon/uploads/default/original/1X/124bddbae8d4a0ec39debe1ed7882cb9580cf158.jpeg)

BTW: After my bug report yesterday, I also noticed that not only the visible Test Cases were emptied but also some other Test Cases disappeared completely - not only in the Tests Explorer within Katalon Studio, but also on the hard disk itself (in both directories, _Test Cases_ and _Scripts_).

Thanks Vinh, and regards

[2.JPG](https://forum.katalon.com/uploads/short-url/ei218qoT4eBgoR4xTMRJhpxBVCB.jpeg)

[3.JPG](https://forum.katalon.com/uploads/short-url/2BR8uheNuZMEr3er12uwlvMkCkE.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [November 8, 2019, 9:12pm UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254/4 "2019-11-08T21:12:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [November 9, 2019, 1:10am UTC](https://forum.katalon.com/t/test-case-scripts-in-a-folder-whose-name-contains-a-dot-after-renaming-are-emptied/14254/5 "2019-11-09T01:10:20Z")

</div>


