Comment 2 for bug 966708

Revision history for this message
Yushu (yushu-li) wrote :

Thanks, RaiMan. It will be helpful. I have had this problem for a while.
The automation test runs on linux (Ubuntu) and it set up a rdp connection to a windows 2012 session host. It tries to disconnect the rdp connection.

There are two ways to enable setting icon and then go to click power, and disconnect in windows 2012.

1. Hover on the right upper or right bottom of the screen, a menu would pop up with setting icon. But it's highly related with timing. The menu will disappear within 1 second or may be less than 1s. The default setting of Settings.MoveMouseDelay, Settings.WaitScanRate, Settings.ObserveScanRate are 0.5, 3, 3. I changed them to 0.01. and still sikuli couldn't find the setting icon during it shows up.
2. Hotkey to enable the menu with setting icon. I have the problem of clicking KeyModifier.WIN doesn't work well with "i" together.