URGENT - Corrupted test case

Hello,

I was running a test case when my computer decided to restart. When I rebooted, I found that the test case was no longer listed in Katalon. The tc file still exists in the project folder, but when I try to view it in notepad it is very clearly corrupted.

Is there anything I can do to fix the corrupted file?

Error in the error log:

!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-12-04 09:59:34.064
!MESSAGE
!STACK 0
com.kms.katalon.controller.exception.ControllerException: javax.xml.bind.UnmarshalException

  • with linked exception:
    [Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.5.0.v20130425-368d603): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document

Any help is greatly appreciated

@lauren.leppert

Can you post the test case content in the .tc file here?

Did this test case contain any variables before?

In the script but not created in katalon on the variables tab.

You can override the test case file with this content.

<?xml version="1.0" encoding="UTF-8"?>
<TestCaseEntity>
   <description></description>
   <name>1_Create Referral</name>
   <tag></tag>
   <comment></comment>
   <testCaseGuid>4376f834-dc98-47f7-be91-74c6ac015fbd</testCaseGuid>
</TestCaseEntity>

Tips: You should use Git and commit the file before making any changes. Git can recover your files if any crash happens.

Thank you so much!!!

Believe it or not, this was set to go in to source control today or Monday as it was nearly completed. I will be getting a local copy of git though for my work going forward. Much appreciated!

1 Like