Page 1 of 1

Detecting network connection issues when running code module

Posted: Fri Aug 29, 2014 12:14 am
by Brent Arata
Ranorex Version: 5.1.0.18625
OS: Windows 8
Developer License.
VM Platform: VMWare.

I have an issue where when I am running a very long code module, Ranorex will terminate the run of a code module if I lose connection to my VM. Is there a way in Ranorex Studio to detect for such an issue and if so recover?

Re: Detecting network connection issues when running code module

Posted: Fri Aug 29, 2014 1:24 pm
by krstcs
Ranorex requires that there be a REALIZED DESKTOP in order to identify and take action upon GUI elements. If your VM loses it's desktop (either it locks, logs off or disconnects) then Ranorex will not be able to continue. In addition, since Ranorex has no way to control these issues (they are either security related or outside of Ranorex's technical ability), there is no way to have the Ranorex test instance itself correct the problem. Note that this is not strictly a Ranorex issue as all other test automation tools on Windows would have the same limitations. It's unfortunate (I deal with the same issue), but it's just how it works.


There may be external tools that would help in this type of situation, but I am unaware of any myself.

Re: Detecting network connection issues when running code module

Posted: Mon Sep 01, 2014 8:13 am
by Support Team
Hi all,

If you are using RDP for connecting the VM you can try to use VNC instead.
VNC should not lock the screen when closing or minimizing the remote client window.
A detailed description can be found in the section Remotely Working with Ranorex on our website.

Regards,
Bernhard