Using multiple machines with KVM switch

Ask general questions here.
john_collin81
Posts: 3
Joined: Fri Jun 07, 2013 4:02 pm

Using multiple machines with KVM switch

Post by john_collin81 » Wed Nov 06, 2013 10:53 am

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.

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Using multiple machines with KVM switch

Post by krstcs » Wed Nov 06, 2013 5:14 pm

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.
Shortcuts usually aren't...

john_collin81
Posts: 3
Joined: Fri Jun 07, 2013 4:02 pm

Re: Using multiple machines with KVM switch

Post by john_collin81 » Tue Nov 12, 2013 11:10 am

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.