← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295379]: Sikuli Can't Click Image and Ask to Run the SikuliX Stuff as Admin

 

Question #295379 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/295379

    Status: Open => Needs information

RaiMan requested more information:
ok, got the log.

apparently the mouse cannot be moved anymore, after your app
"BIStudio.exe" has been started:

--- before the app start:
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: S(0)[0,0 1920x1080] center: (960, 540) --- OK
[debug] Screen: *** checking: S(1)[-1366,306 1366x768] center: (-683, 690) --- OK

with this start up check, the mouse is moved (delay 0) to the center of each screen and the position is checked afterwards.
This apparently works.

--- after start of app:
should be L(228,136)@S(0)[0,0 1920x1080] but after move is L(867,482)@S(0)[0,0 1920x1080]
with the corresponding click: [debug] CLICK on L(228,136)@S(0)[0,0 1920x1080]

and with the next click:
should be L(50,354)@S(0)[0,0 1920x1080] but after move is L(867,482)@S(0)[0,0 1920x1080]
[debug] CLICK on L(50,354)@S(0)[0,0 1920x1080]

As you can see, the mouse position is still reported to be
L(867,482)@S(0)[0,0 1920x1080], though the 2 requested clicks should
have moved the mouse.

You should run a testcase, without starting your app: just a click on
something visible on the screen.

I guess the last click would have revealed the next image, that gets a
FindFailed finally.

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