# Downloaded Script to Computer, Imported Again and lost half my test cases

**URL:** <https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883>\
**Category:** Bug Report\
**Tags:** katalon-recorder\
**Created:** [July 24, 2021, 6:25am UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883 "2021-07-24T06:25:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.olexo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/adam.olexo/32/16104_2.png) [@adam.olexo](https://forum.katalon.com/u/adam.olexo)\
**Post date:** [July 24, 2021, 6:25am UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/1 "2021-07-24T06:25:18Z")

</div>

I downloaded my script that I spent a great deal of time on and re imported on a different system to find it seemed to delete half my data for no reason. Is there any way to recover this lost data?

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [July 24, 2021, 6:32am UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/2 "2021-07-24T06:32:54Z")

</div>

@adam.olexo

You download your scripts from one machine and import them on another machine, did I get that right? Do you still keep KR on the old machine? If so, it’s likely that your scripts still available on that one.

---

<div class="post-metadata">

**Author:** ![adam.olexo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/adam.olexo/32/16104_2.png) [@adam.olexo](https://forum.katalon.com/u/adam.olexo)\
**Post date:** [July 26, 2021, 2:19pm UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/3 "2021-07-26T14:19:29Z")

</div>

No it’s as if half of my script was simply deleted from existence when saving. I’ve got the backups in TestOps but converting back into compatibility with the Recorder is still an issue.

---

<div class="post-metadata">

**Author:** ![adam.olexo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/adam.olexo/32/16104_2.png) [@adam.olexo](https://forum.katalon.com/u/adam.olexo)\
**Post date:** [July 26, 2021, 2:54pm UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/4 "2021-07-26T14:54:42Z")

</div>

Update: I’ve worked out how to restore from a backup and save the script data. My only concern now is if I choose to to save these scripts locally, re-upload them, and come to find I’ve lost data.

---

<div class="post-metadata">

**Author:** ![adam.olexo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/adam.olexo/32/16104_2.png) [@adam.olexo](https://forum.katalon.com/u/adam.olexo)\
**Post date:** [July 26, 2021, 6:13pm UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/5 "2021-07-26T18:13:58Z")

</div>

@ThanhTo  
I continue to have the issue, my only hope at keeping a hold of my complete script is to peruse through 1700 backup records to find the one where I left off and restore from that backup. Every time I save, go to re-import, I’m left with a fraction of my data.

---

<div class="post-metadata">

**Author:** ![uyen.do](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/uyen.do/32/20464_2.png) [@uyen.do](https://forum.katalon.com/u/uyen.do)\
**Post date:** [July 27, 2021, 5:52am UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/6 "2021-07-27T05:52:12Z")

</div>

Hi @adam.olexo, I’m on the product team of KR. Could you provide us with one of your affected files so we could take a look and see what the problem was?

---

<div class="post-metadata">

**Author:** ![pascal.stiehl](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/pascal.stiehl/32/16104_2.png) [@pascal.stiehl](https://forum.katalon.com/u/pascal.stiehl)\
**Post date:** [July 27, 2021, 4:19pm UTC](https://forum.katalon.com/t/downloaded-script-to-computer-imported-again-and-lost-half-my-test-cases/56883/7 "2021-07-27T16:19:40Z")

</div>

maybee this issue is connected to my issue:

> [@Type command: line break doenst work since update](http://forum.katalon.com/t/type-command-line-break-doenst-work-since-update/56986):
>
> Hey, since last week line breaks doens’t work anymore. I think it has something to do with the update 5.5.2.1 ([Release 5.5.1.3 - Problem when opening test suite - Target are empty - #4 by ThanhTo](http://forum.katalon.com/t/release-5-5-1-3-problem-when-opening-test-suite-target-are-empty/56719/4)). to recreate: create or record a simple test case which uses type comand with a line break play this test case (line break works!) save test case to your hard disk load test case into katalon Recorder play test case again (line break don’t work!) You can see it also direkt in katalon recorder (…

@adam.olexo can you check if your saved test cases are OK, but while importing the test cases again they are “manipulated”?

just open the test cases with an browser like Chrome, Firefox etc. an check if everything is there
