TestModule getting deleted automatically

Bug reports.
Simran
Posts: 8
Joined: Thu Nov 02, 2017 9:03 pm

TestModule getting deleted automatically

Post by Simran » Tue Nov 07, 2017 8:13 pm

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3914
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: TestModule getting deleted automatically

Post by odklizec » Tue Nov 07, 2017 8:33 pm

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!
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Simran
Posts: 8
Joined: Thu Nov 02, 2017 9:03 pm

Re: TestModule getting deleted automatically

Post by Simran » Tue Nov 07, 2017 8:56 pm

I am using version 7.2 for ranorex. but what is the meaning of version control sw ?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3914
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: TestModule getting deleted automatically

Post by odklizec » Tue Nov 07, 2017 9:03 pm

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?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Simran
Posts: 8
Joined: Thu Nov 02, 2017 9:03 pm

Re: TestModule getting deleted automatically

Post by Simran » Tue Nov 07, 2017 9:06 pm

TFS

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3914
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: TestModule getting deleted automatically

Post by odklizec » Tue Nov 07, 2017 9:15 pm

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?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: TestModule getting deleted automatically

Post by krstcs » Tue Nov 07, 2017 9:29 pm

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.
Shortcuts usually aren't...