Sikuli doesn't work if reduce or close Remote Desktop

Asked by GUILLAUME

Hello,

I wrote some scripts under Sikuli which work fine on VM if i look continuously at them.
It works too if i lock my session (Win + L)
NB : I am connected to my VM by classic remote desktop.

But if I choose to reduce my remote deskop or close the connexion (without unlogging the session on VM), the sikuli scripts don't work anymore.

Does anyone know how to resolve my problem ?
Thx in advance

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
TestMechanic
Solved:
Last query:
Last reply:
Revision history for this message
Best TestMechanic (ndinev) said :
#1

This is well known problem.

First of all you should not close your RDC. If you do this the machine becomes headless - NO UI. Any UI automation tool will fail in this case

However You can solve the minimize problem by following those instructions

http://www.8bitavenue.com/2012/10/running-gui-tests-in-minimized-windows-remote-desktop/

Revision history for this message
GUILLAUME (marouane-guillaume) said :
#2

Thanks dinev, that solved my question.