ranorex remote execution cancelled by user

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 19
Joined: Mon Mar 10, 2014 5:13 pm

ranorex remote execution cancelled by user

Post by gridle » Tue Feb 16, 2021 9:19 am


i faced with strange behavior last two weeks. It started to appear on ranorex 9.3 and happens on 9.4.1 too.
So the problem is that we execute our tests during the night. And execution failed for some mystery reason time to time. There are no ranorex report after such fail. Ranorex agent log says

Code: Select all

Ranorex.Dex.Components.TestExecution.Steps.ExecutionStep Execution canceled by user. 
Ranorex.Dex.Components.TestExecution.Steps.ProgressLogger Failed to publish test result No artifact found in C:\Users\username\AppData\Local\Temp\Ranorex\20de3451ef4db709d454309f5c6edcf2\ 
But for sure no one canceled this manually.
Also we have script which triggers ranorex during the night run. And gets return code. So return code for the current case is 4294967291 or 4294967292.
When I stopped ranorex run manually (close command line window) - return code is 4294967295.
So can anyone help me with this and tell me why this happens? And what do return codes 4294967291 4294967292 mean?


Posts: 14
Joined: Fri Mar 19, 2021 12:33 pm

Re: ranorex remote execution cancelled by user

Post by albertog » Wed Sep 22, 2021 11:42 am

Same problem for me (or very similar).
I think it's related to the Ranorex destination temp folder, in which compiled exe files are transferred, in order to be executed.
Something like:


You'll find a folder named with a GUID in there with a copy of the exe files.

I am deleting this GUID named folder, leaving the Local\Temp\Ranorex empty, before starting the remote test executions. So far so good, but I believe it's a very weird behavior...