← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #685325]: Sikuli java script instability

 

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

RaiMan proposed the following answer:
--- I laready followed all best practices of Sikuli, and did not get yet the reason of this instability.
Then the last possible reason is, that in those situations the image does not appear within the given wait time (3 seconds in the standard).
Settings.AutoWaitTimeout = 5.0; //increase to 5 seconds

As a general advice: switch to the latest SikuliX version 2.0.0 (latest stable on MavenCentral)
This is the release version of the latest 1.1.4-SNAPSHOT.

BTW:
Sikuli WaitScanRate: 5
... might be a misunderstanding and does not maske sense in your situation anyways:
you are saying, that SikuliX should do 5 retries in 1 second, which usually in the average is not possible (only in cases where you consequently work with rather small regions). Raising the waitscanrate costs much cpu and storage. On slower to normal machines the standard of 3 is hard enough.

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