Page 1 of 1

methods disappeared

Posted: Wed Sep 11, 2019 6:03 pm
by IvanT
i was working with desktop app and ranorex closed (itself). when i opened again and try to run test i had a lot of errors.
the problem:i have (had) 1 Usercodes file containse all common methods witch i often use and now this file is empty, last my copy doesn't have a lot of methods. reboot ranorex or windows doesn't help. HELP please ....:?::?::?::?::?:

Re: methods disappeared

Posted: Wed Sep 11, 2019 7:10 pm
by odklizec
Hi,

I’m sorry to be a bearer of bad news, but if you don’t have a backup copy of file with common methods in source control of your choice, then you are, most probably, out of luck. If you are not using source control system (GIT, TFS, SVN,...) then you just have learned why it’s critical to use one and why you should commit code changes several times a day.

Re: methods disappeared

Posted: Wed Sep 11, 2019 7:40 pm
by IvanT
very bad news

Re: methods disappeared

Posted: Wed Sep 11, 2019 7:50 pm
by IvanT
but what was it? what happened.. why everything disappered?

Re: methods disappeared

Posted: Wed Sep 11, 2019 8:26 pm
by odklizec
Hi,

I can’t say? My best guess is that you did not save the solution (recent changes) for some time? And then, when Ranorex crashed, all changes were lost?

Re: methods disappeared

Posted: Thu Sep 12, 2019 3:15 pm
by IvanT
No i save changes everyday

Re: methods disappeared

Posted: Thu Sep 12, 2019 3:22 pm
by odklizec
Hi,

Well, that’s weird. I’ve never experienced anything like that. Sadly, if you are not using source control system, you are out of luck.