# Katalon Studio IDE does not sometime save changes

**URL:** <https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [October 8, 2020, 5:36pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118 "2020-10-08T17:36:24Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahid.nawaz](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@shahid.nawaz](https://forum.katalon.com/u/shahid.nawaz)\
**Post date:** [October 8, 2020, 5:36pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/1 "2020-10-08T17:36:24Z")

</div>

Looks like IDE need a lot of stability(it’s no where near modern IDEs), while spending a month or so came up with many times save hang and loosing last changes.

NOTE: for your interest I am using free version

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [October 9, 2020, 5:05am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/2 "2020-10-09T05:05:29Z")

</div>

Hi @shahid.nawaz

Can you provide us some screenshots about this issue and also the error log file?

---

<div class="post-metadata">

**Author:** ![kenzie.rigole](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kenzie.rigole/32/22830_2.png) [@kenzie.rigole](https://forum.katalon.com/u/kenzie.rigole)\
**Post date:** [October 9, 2020, 9:26am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/3 "2020-10-09T09:26:24Z")

</div>

i think i can add some context here, i’ve had it happen to me often  
sometimes, Katalon will stop processing saves for specifc tabs, or rather, not realize there’s any change there to save, it also interferes with testcase execution, testcase will refuse to start until i close the offending tab(there’s no indication of which that is so it’s trial and error)

very specifically, i most often encounter this behaviour after i make changes to the test object repo, recording a webpage, copying, pasting, moving etc  
closing the offending tab will let me run tests again, but it means i may potentially lose a few changes i made to said file without realizing  
if there is anything i can do next time it happens that would help you, please let me know

---

<div class="post-metadata">

**Author:** ![shahid.nawaz](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@shahid.nawaz](https://forum.katalon.com/u/shahid.nawaz)\
**Post date:** [October 23, 2020, 3:37am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/4 "2020-10-23T03:37:09Z")

</div>

I don’t think there can be any specific screenshot for this behavior, however @kenzie.rigole provided very good details, I have seen this happening a lot

---

<div class="post-metadata">

**Author:** ![kenzie.rigole](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kenzie.rigole/32/22830_2.png) [@kenzie.rigole](https://forum.katalon.com/u/kenzie.rigole)\
**Post date:** [November 24, 2020, 8:52am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/5 "2020-11-24T08:52:10Z")

</div>

i have some additional information that might help find the issue  
i had it again today, and i found the tab that didn’t save changes properly(and was blocking my testcase from executing)  
so i closed it and then reopened the same file, and i discovered the following  
upon opening the file, the save button will be enabled as soon as i make any change in the file, but after said save the button no longer becomes active for that particular file, and upon closing and reopening the file, i found that the first save didn’t actually save either  
the save itself was near instant, too, as if it cancelled the operation, without any feedback to the user

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [November 26, 2020, 3:10pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/6 "2020-11-26T15:10:17Z")

</div>

Hi @kenzie.rigole,

Thanks for the detailed and informative feedback. From our side, we need more info for better investigation:

- Which version of Katalon Studio version are you using? What is your OS version?
- Does this happen when editing test case and test object only or another artifact too? What type of the test object are you working: Web, Mobile or WebService?
- How long does this happen after starting Katalon Studio: few minutes or few hours?

---

<div class="post-metadata">

**Author:** ![kenzie.rigole](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kenzie.rigole/32/22830_2.png) [@kenzie.rigole](https://forum.katalon.com/u/kenzie.rigole)\
**Post date:** [November 30, 2020, 2:24pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/7 "2020-11-30T14:24:04Z")

</div>

@duyluong  
after paying more attention to what i’m doing before editing a test object, i’ve come to the following reproduction steps

1. edit a file(in my case, a step definition .groovy file)
2. right click a test object and select rename
  - you will see the popup that files need to be saved first

3. confirm, note the files that will be saved and confirm
4. rename the file and confirm
  - all files that were shown in the popup ‘save files’ no longer allow me to save changes

it seems to me that any action that will cause the ‘save changes’ popup to be displayed, will cause this behaviour  
as for the specific environment i’m working on:  
Katalon 7.8.0  
Windows 10

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [November 30, 2020, 2:50pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/8 "2020-11-30T14:50:28Z")

</div>

@duyluong As you know, these issues go way back…

> [@Bug in Katalon Studio Save Routine](http://forum.katalon.com/t/bug-in-katalon-studio-save-routine/9703/3):
>
> Hi Vinh I can’t provide you steps for clicking the “Save All” button in KS. It’s what it says “Click the Save All” button. It’s not complicated. To investigate the cause, search your codebase for the static text that appears in the error message dialog I posted. “Save could not be completed. Try File \> Save As”. And in Katalon you have code that issues a message box with the title “Save Problems”. Somebody in the development team knows who owns the code in the file I/O module. That person…

> [@All Katalon Studio Saving Issues (was Unable to save part)](http://forum.katalon.com/t/all-katalon-studio-saving-issues-was-unable-to-save-part/21730/16):
>
> Alex, April is rapidly drawing to a close. Frankly, I don’t see any signs that saving issues will be solved any time soon. Reminder: Katalon is first and foremost an IDE. It should save, successfully every time. Here’s my UX: Editing a large-ish keyword class. I notice formatting/assist issues. I save. Now one of two things happens: 3.1 The asterisk in the tab is not removed 3.2 The asterisk is removed but further changes do not cause the asterisk to reappear. Whichever of these happen…

[Unable to save any web testing project changes - #4 by Russ\_Thomas](http://forum.katalon.com/t/unable-to-save-any-web-testing-project-changes/44260/4)

> [@Unable to save any web testing project changes](http://forum.katalon.com/t/unable-to-save-any-web-testing-project-changes/44260/7):
>
> Yes. Any change in the affected window/tab can recover the situation. In one of the linked threads, I documented how to close the tab, reopen it (then the \* reappears) and then it will save - same file, same number of lines of code, same number of tabs open. To me, that suggests that the editor object has lost the ability to save - closing and reopening another tab with the same file gives you a NEW editor and “something” knows the file is dirty and needs saving because the \* reappears. That …

> [@Getting error message while clicking on save all ikon](http://forum.katalon.com/t/getting-error-message-while-clicking-on-save-all-ikon/41987/2):
>
> This is a known bug. It comes and goes. One of your open files has not been saved correctly. The editor thinks it is saved, but the IDE somehow knows the environment is dirty. Workaround/Remedy One at a time, close your files. When you close a single file, open it again. Look for an asterisk in the tab [image] 3.1 If there is no asterisk, close the file and move on to the next file. Repeat from Step 1 above. 3.2 If there is an asterisk in the tab, check your changes are present then…

> [@Frequent Save Problems](http://forum.katalon.com/t/frequent-save-problems/31619):
>
> I am not sure how to consistently recreate this issue, but it has been a major headache for me for quite some time. I am writing tests using the Cucumber framework - that is, feature files with step definition files underneath. I very frequently run into this “Save Problems” popup when I adjust my stepdef file, often occurring if I make a lot of small changes in multiple spots. I should also note that I have had the autocomplete (I’m not sure what that function is called) bug out and throw an ex…

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [December 1, 2020, 8:34am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/9 "2020-12-01T08:34:01Z")

</div>

Hi @kenzie.rigole, @Russ_Thomas,

Thanks for your feedback. I will talk with the project team about this issue. Hope we can find out root cause soon.

> 1. edit a file(in my case, a step definition .groovy file)
> 2. right click a test object and select rename
> 
> - you will see the popup that files need to be saved first
> 
> 1. confirm, note the files that will be saved and confirm
> 2. rename the file and confirm
> 
> - all files that were shown in the popup ‘save files’ no longer allow me to save changes

Update: I can confirm this case causes the step definition (.groovy) could not be saved.

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [January 19, 2021, 7:45am UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/10 "2021-01-19T07:45:12Z")

</div>

Hi @kenzie.rigole, @Russ_Thomas, @shahid.nawaz

The bug as mentioned above was fixed in v7.9.0. Please check for update or download from our website.

Thanks

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 2:02pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/11 "2021-01-19T14:02:31Z")

</div>

@duyluong

I’m using 7.9.0rc2 and I have not experienced the bug yet.

While using 7.9.0rc, it happened twice. The behavior was a little different but the net effect was the same. I had to close the tab, reopen the file and re-add the new code.

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [January 19, 2021, 2:15pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/12 "2021-01-19T14:15:08Z")

</div>

Hi @Russ_Thomas,

> I’m using 7.9.0rc2 and I have not experienced the bug yet.  
> While using 7.9.0rc, it happened twice.

Because the bug was fixed after v7.9.0.rc released so please try with v7.9.0.rc2 or 7.9.0 official release.

---

<div class="post-metadata">

**Author:** ![fauwad.hurzuk](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/fauwad.hurzuk/32/16104_2.png) [@fauwad.hurzuk](https://forum.katalon.com/u/fauwad.hurzuk)\
**Post date:** [February 14, 2021, 1:12pm UTC](https://forum.katalon.com/t/katalon-studio-ide-does-not-sometime-save-changes/48118/13 "2021-02-14T13:12:00Z")

</div>

Hi,

I am also facing the same issue while saving the test case in web project . I am not able to make any changes also in test case in Manual Mode. I make changes in Script mode and then close katalon and reopen then only I can run the test case.

I am using Katalon Studio Enterprise (Trial) version 7.9.0.  
OS is windows 10.

Please suggest how to resolve this issue.
