Forum Discussion

JustinL22's avatar
JustinL22
Contributor
3 months ago

Keyword Tests Removed

When running some automation tests an error was displayed saying unable to find element and everything crashed so needed to restart testcomplete. Once restarted the project now has no keyword tests section and all the tests in the execution plan have a little red x icon against them and can't be run. When looking in the keyword tests folder in the saved location a load of them seem to have gone. Any idea what may have caused this and how to recover them?

 

 

  • JDR2500's avatar
    JDR2500
    Frequent Contributor

    I've had my project file get corrupted like that before where things disappear.  However, I've always been able to add the items back.  Is there any chance the files are still on your drive only in a different location?

    I would search your entire drive for *.tcKDTest files and hope you find them.  With scripts TC also saves backup files of each of them with a .bak extension.  Maybe it does that for keyword tests too.