Issue in SikuliX while running script in remote desktop.

Bug #1855413 reported by Sarthik B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Undecided
Unassigned

Bug Description

We have an automation framework using sikulix and Java.

We have handled different resolution by using different set of resolution for some standard resolution.

But there is some crazy behavior when we run this script in remote desktop.

My system screen size is 1280*720. Remote desktop screen size was 1980*1280. When i run script in remote desktop it identifies images but clicks in some other location(I'm sure that proper image was recognized).

Any help to fix this issue would be appreciated.

Client machine : windows 10, 64 bit.

Revision history for this message
RaiMan (raimund-hocke) wrote :

SikuliX version?
Java version?
Script is running on local or remote?

Revision history for this message
Sarthik B (sarthikb) wrote :

Sikulix version 2.0.1
Java 1.8.0_221
Remote.

Once I had set my system resolution to 1920*1080. Even in that case same issue was seen.

Revision history for this message
Sarthik B (sarthikb) wrote :

Hi,

Any update on this issue?

Revision history for this message
RaiMan (raimund-hocke) wrote :

Sorry, no chance to reproduce this in my environment.

You have to do some debugging (Debug.on(3)), to get more information about what is going on.

Make some simple testcase to reproduce and evaluate.

Revision history for this message
Sarthik B (sarthikb) wrote :

Can you please mention what steps i need to follow in detail?

Revision history for this message
RaiMan (raimund-hocke) wrote :

see comment #4

Revision history for this message
Sarthik B (sarthikb) wrote :

[8750 debug] Region: hover: C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\LoginDialogNew.PNG
[8750 debug] Image: reused: C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\LoginDialogNew.PNG (file:C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\LoginDialogNew.PNG)
[8750 debug] Region: wait: waiting 3.0 secs for C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\LoginDialogNew.PNG to appear in R[0,0 2880x1620]@S(0)
[8859 debug] Finder2: makeMat: INT_RGB (2880x1620)
[8969 debug] Finder2: makeMat: TYPE_4BYTE_ABGR (104x15)
[8969 debug] Finder2: doFind: start (stdDev: 235.7171 mean: 644.037821)
[10078 debug] Finder2: doFind: in original: %39.7263 (?70) 1109 msec
[10078 debug] Finder2: doFind: end 1109 msec
[10203 debug] Finder2: makeMat: INT_RGB (2880x1620)
[10297 debug] Finder2: doFind: start (stdDev: 235.7171 mean: 644.037821)
[11391 debug] Finder2: doFind: in original: %72.8253 (?70) 1094 msec
[11391 debug] Finder2: doFind: end 1094 msec
[11438 debug] Region: wait: C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\LoginDialogNew.PNG appeared (M[864,419 104x15]@S(0) S:0.73 C:916,426 [2656 msec])
[error] RobotDesktop: checkMousePosition: should be L[916,426]@S(0)

Revision history for this message
RaiMan (raimund-hocke) wrote :

there are some lines missing in the log after the error

Revision history for this message
Sarthik B (sarthikb) wrote :

[40337 debug] Region: wait: waiting 3.0 secs for C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\DNALoginSecurityMessageNew.PNG to appear in R[0,0 1920x1080]@S(0)
[40509 debug] Finder2: makeMat: INT_RGB (1920x1080)
[40634 debug] Finder2: makeMat: TYPE_4BYTE_ABGR (97x18)
[40900 debug] Finder2: doFind: start (stdDev: 223.4544 mean: 664.706186)
[41822 debug] Finder2: doFind: in original: %49.5025 (?70) 719 msec
[41884 debug] Finder2: doFind: end 781 msec
[42056 debug] Finder2: makeMat: INT_RGB (1920x1080)
[42119 debug] Finder2: doFind: start (stdDev: 223.4544 mean: 664.706186)
[43025 debug] Finder2: doFind: in original: %41.0638 (?70) 813 msec
[43119 debug] Finder2: doFind: end 907 msec
[43275 debug] Finder2: makeMat: INT_RGB (1920x1080)
[43306 debug] Finder2: doFind: start (stdDev: 223.4544 mean: 664.706186)
[43853 debug] Finder2: doFind: in original: %100.0000 (?70) 547 msec
[43916 debug] Finder2: doFind: end 610 msec
[43978 debug] Region: wait: C:\Users\sttester\Desktop\Sarthik\sikulix\images\DNA\Login\check\DNALoginSecurityMessageNew.PNG appeared (M[229,153 97x18]@S(0) S:1.00 C:277,162 [3641 msec])
[44072 debug] Device: Mouse: moved externally: now (596,247) was (596,246) (mouseMovedResponse 0)
[44650 debug] TYPE "#ENTER."
[44650 debug] Region: TYPE "#ENTER."

Revision history for this message
Matte proffsman (proffsmatte) wrote :

This might be a Zoom issue. Adjust zoom in display settings to 100%

Revision history for this message
Sarthik B (sarthikb) wrote :

which zoom setting are you talking about. remote desktop or local system?

Revision history for this message
Sarthik B (sarthikb) wrote :

Any update on this issue or any suggestion on possible workaround?

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.