← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #670875]: I am using sikuli in windows 8

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
if it does not print, then the pattern does not appear within 3 seconds.

 if ( screen.exists(pattern) != null)
  {
   System.out.println("test passed");
  } else {
   System.out.println("test failed");
 }

if it is a timing problem, the this might help:

if ( screen.exists(pattern, 10) != null)
 ....

read the docs

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