Tests will fail if close the remote window for VM

Ask general questions here.
yydpkm
Posts: 12
Joined: Wed Jul 12, 2017 8:33 pm

Tests will fail if close the remote window for VM

Post by yydpkm » Mon Jul 24, 2017 2:37 pm

What I did so far:
I tried minimize the Remote Desktop Connection window, almost all tests failed.
I tried keep the Remote Desktop Connection window open and then close the monitor, almost all tests failed.
It can only work fine if I keep the Remote Desktop Connection window open and stare at the screen. :evil:
This is clearly not the purpose to do test automation.

Is there any solution to this? Or the only way to let it run on VM is open the remote window and monitor on?

Ranorex 5.2.2. I am not allowed to update Ranorex.
OS windows server 2008 R2.

Thanks guys. :D

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3914
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Tests will fail if close the remote window for VM

Post by odklizec » Mon Jul 24, 2017 2:49 pm

Hi,

Issue already answered >here<. Please do not post the same question in multiple forum threads. It does not help with getting answers faster ;)
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

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

Re: Tests will fail if close the remote window for VM

Post by krstcs » Mon Jul 24, 2017 3:07 pm

In addition to what Pavel has said, please ready the User Guide/Help Center completely, it deals with this issue specifically and with many others that you might have when just starting out. If you can't find your answer there, then please come ask here.

This is the link:
https://www.ranorex.com/help/latest

Also, if you get into coding with the Ranorex library, here is the PUBLIC API:
https://www.ranorex.com/Documentation/Ranorex/
Shortcuts usually aren't...