Test execution crash

Ranorex Spy, Recorder, and Studio.
Posts: 15
Joined: Thu May 09, 2019 10:03 am

Test execution crash

Post by dominik_F » Fri Sep 06, 2019 10:44 am

Hi all,

thats eventually a pretty basic thing, but i could not find anything about it so far.

I have a test which works fine when calling it manually via the commandline.
When having a script that is started via the windows task scheduler run it, it instantly aborts with an "Text execution fatal crash".
I have attached the rxzlog stating the exact error.

The test shall be executed on the same machine on which Ranorex Studio (v9.1) is installed.
Within that log the instructions to build remote executeables are linked, but as it shall run on the same machine and i'm running a single node locked version, i cant follow these.
VC++ runetimes as well as .NET runtime are installed in its latest versions (to check these is also suggested there)

best regards,
(7.13 KiB) Downloaded 19 times

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

Re: Test execution crash

Post by odklizec » Fri Sep 06, 2019 10:59 am


Please make sure the test is started only when the user is logged on! Ranorex (any UI TA tool) cannot interact with UI, if there is not realized desktop. And UI is not available if user is not logged in.
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

Posts: 15
Joined: Thu May 09, 2019 10:03 am

Re: Test execution crash

Post by dominik_F » Mon Sep 09, 2019 7:25 am


thanks for the reply and hint.
It was indeed a mix of being logged in via remote desktop and the scheduler job being not configured as "user must be logged in"