sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37235
Re: [Question #288480]: Using observe() for region created via default argument
Question #288480 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288480
Status: Open => Answered
RaiMan proposed the following answer:
I do not know, what you expect to SEE with your code.
The relevant part (the handler) is completely silent and since your
tests both do not check anything (assert True), the tests always pass,
no matter what happens.
So if your script runs towards a minute (2 * 20 secs observe), then
indeed nothing is detected.
... but if it runs less than 30 secs, then the observation works.
just tested: works perfectly ;-)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.