Undoing Repository Item Delete

Ranorex Studio, Spy, Recorder, and Driver.
amunyaneza
Posts: 1
Joined: Tue Oct 10, 2017 10:46 am

Undoing Repository Item Delete

Post by amunyaneza » Thu Nov 30, 2017 5:14 pm

How do I retrieve repository items that have been deleted if I have already saved the project and undo is unavailable?

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

Re: Undoing Repository Item Delete

Post by odklizec » Thu Nov 30, 2017 8:18 pm

Hi,

I think the only solution is to get the last version before deletion from version control system you are using. I hope you are using one, right? If not, then you have just learned an hard, but important lesson. You should NEVER develop a test automation (any program) without version control system. And you should use it on a regular basis, not just once in a while!
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