Page 1 of 1

TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 8:13 pm
by Simran
Hi

Some of my test modules are getting automatically deleted from Test Suite. Now when I run whole Test suite, It gets failed and showing error - could not found. I checked in my module and that modules are missing. when I try to open from my Test Suite, it shows error - Test Module has been deleted and is still referenced by Test Suite file.

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 8:33 pm
by odklizec
Hi, this is very uncommon behaviour and I'm afraid, there is not much anyone here can do or suggest without much more details. What Ranorex version do you use? And are you using version control sw? And if yes, which one? If not, you should immediatelly adopt one!

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 8:56 pm
by Simran
I am using version 7.2 for ranorex. but what is the meaning of version control sw ?

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 9:03 pm
by odklizec
Version control sw (software) is a source code storage, management and distribution tool, e.g. SVN, GIT, TFS,...
How do you store and manage your Ranorex source code?

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 9:06 pm
by Simran
TFS

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 9:15 pm
by odklizec
OK, and are you using TFS integration in Ranorex? I'm personally using TFS outside Ranorex (via Team Explorer), because I found integrated TFS too slow with my large solutions. And I also remember some problems, regarding unexpectedly deleted modules, reported be people using integrated TFS. Try to search the forum. And try also disable TFS integration and use Team Explorer instead. Hope this helps?

Re: TestModule getting deleted automatically

Posted: Tue Nov 07, 2017 9:29 pm
by krstcs
This error means that the module was deleted from the project but not from the test suite. It is most likely caused by one of your users deleting that module from the project and pushing the code to TFS that way. You should check the TFS logs to see who did it and when, and then make sure if it was intentional or not. If it wasn't, you should be able to roll back that file's change. I don't use TFS, so I can't help with how to do it. If it was intentional, you need to discuss that with your team and make sure everyone is on the same page about how these things impact other users and the tests.