Page 1 of 1

Tests Crashing When Run as Administrator

Posted: Fri Oct 05, 2018 2:55 pm
by rphmee
When running Ranorex as Administrator and then trying to run my tests, the tests crash after the first few seconds of running and give no indication as to why. The same tests when run normally run to completion without issue. There are certain tests in my test suite that require admin privileges so I need to be able to do this.

Is there any known issue that may be causing the crashes?

Re: Tests Crashing When Run as Administrator

Posted: Fri Oct 05, 2018 3:43 pm
by Stub
I always run Ranorex as Administrator. Works fine for me on our application I'm afraid! I've been using Ranorex since v6.0.

Re: Tests Crashing When Run as Administrator

Posted: Fri Oct 05, 2018 3:53 pm
by odklizec
Hi,

My guess is that there is corrupted something on the system level? Maybe .Net or any of the required VC redistributable libs?

What version of Ranorex do you use and on what OS? Could you please check Ranorex tracing logs? Maybe there is something useful in them. You can find them here:
%userprofile%\Documents\Ranorex\Logs

Please make sure that you are using most recent Ranorex version (either 8.2.1 or newest 8.3). If it crashes with older Ranorex, your only hope is to try to uninstall and reinstall both Ranorex and all required libs.

Re: Tests Crashing When Run as Administrator

Posted: Fri Oct 05, 2018 4:30 pm
by rphmee
Thanks for the response.

I'm using 8.2.1 on Windows 10. It seems that uninstall/reinstall temporarily fixes the issue, but once it pops back up it remains. I'll take a look at the logs when I get a chance.