← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #704278]: Sikulix Screen parallel testing

 

Question #704278 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/704278

    Status: Open => Answered

RaiMan proposed the following answer:
Generally with SikuliX running SikuliX features in parallel does not
make sense, because screen, mouse and keyboard are singele-use resources
and inside SikuliX things are not prepared for parallel use.

Nevertheless something like

new Screen().find("some-image.png") should be possible to place inside a
Runnable/Thread.

So I recommend to start as simple as posssible.

BTW: doubleClick("/gaming/select.png", 10)
the second parameter is a modifier value for the click action and not an wait time as you might think.

If you want to wait and click if success
wait("/gaming/select.png", 10).doubleClick()

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