Test execution crash

Ranorex Spy, Recorder, and Studio.
dominik_F
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,
Dominik_F
Attachments
MobilesFestnetz_Test20190906_111608.zip
rxzlog
(7.13 KiB) Downloaded 3 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5353
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

Hi,

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

dominik_F
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

Hi,

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"