Page 1 of 1

Using multiple machines with KVM switch

Posted: Wed Nov 06, 2013 10:53 am
by john_collin81
Hi all

I was wondering if anybody has come across a issue with ranorex using a KVM switch. It seems when i am running tests it is more successful for the machine i have on the monitor then the machines i have running but are not using the monitor.

I can run a test and switch to another machine and it fails on not picking up an menu option for example but if i run the same test again on machine with KVM switched to that machine it passes no issue.

I have got 3 machines, 1 physical box and two boxes with VMware images for testing that i switch between.

Re: Using multiple machines with KVM switch

Posted: Wed Nov 06, 2013 5:14 pm
by krstcs
What connection does the KVM use for your monitor? HDMI, DVI, RGB, DP?

If you are using one of the digital connections (HDMI, DVI, DP) then your system will know when it does or doesn't have a monitor connected. If your system doesn't have a monitor connected, it may not be drawing the desktop. With no desktop, there is nothing for Ranorex to "see" or interact with and your tests will fail.

This is the same issue with a locked desktop. Ranorex cannot interact with the desktop because Windows locks out everything but the actual, physical mouse and keyboard from any interactions on the lock screen.

I would suggest that you use Remote Desktop, if possible, instead of a KVM, as this will give you a desktop that Ranorex can use, no matter if you have a monitor physically connected or not.

Re: Using multiple machines with KVM switch

Posted: Tue Nov 12, 2013 11:10 am
by john_collin81
Thanks for the reply

The switch uses VGA connectors from the switch to the workstations ad we have 8 machines attached to the one switch.