← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #152117]: unittest execution hanging when the image is not found

 

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

    Status: Needs information => Answered

RaiMan proposed the following answer:
Uuups, sorry for being such blind --- LOL ---

In the beginning of your script you set

SetAutoWaitTimeout(5000)

which sets it to 5000 seconds --- a long time ;-)

Where did you get the script? it is based on Sikuli release 0.9x, where
the timout parameter counted in miliseconds.

So it is clear what happens:

exits(image) waits as long as AutoWaitTimeout is set (1 1/2 hour in your
case)

exists(image, 5) waits only 5 seconds.

again double LOL

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.