New question #698523 on SikuliX:
https://answers.launchpad.net/sikuli/+question/698523

I am seeing a message when I run my test through a batch file that a mouse 
click is being blocked when running one of my tests. The test is able to launch 
the app under test but this error shows when interacting with the app:

[error] RobotDesktop: checkMousePosition: should be L[905,758]@S(0)
but after move is L[1413,863]@S(0)
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

I am running the batch file as an administrator and running the following 
command to get things working:

echo off
set classpath=<path_to_workspace>\\bin;<path_to_workspace>\\lib\\*
java -cp "<path_to_workspace>\\bin;<path_to_workspace>\\lib\\*" 
org.testng.TestNG <path_to_workspace>\\<xmlFile>

I also ran the test script not as an administrator to compare and the test 
stops at an earlier point in the test, so I don't think it's a run as admin 
issue.

I have talked with our security team and they don't see the anit-virus is 
blocking any kind of action during test execution. When running the test 
through eclipse the test script works with no mouse issues. The app is launched 
and the mouse clicks  work as expected.

I am using Sikuli 2.0.1 and testNG 6.11. The machine is running Windows 10

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to