← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242651]: can not find images.sikuli/1390382312030.png on the screen

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
see the comments //

    s.exists("Start Building Now"); // this is interpreted as text, but text search is switched of (no valid image file name)
    s.waitVanish(2); // 2 is not recognised waitVanish needs an image filename or a pattern
    s.doubleClick("images.sikuli/1390382312030.png"); // this is valid and should be found
    System.out.println("++++++"+ s.doubleClick("/1390382312030.png")); // invalid file name, at system root ??
    s.wait(2);
    s.doubleClick("1390382392318.png");  // valid filename but will not be found
    s.wait(2);

a valid filename in your case is either
<some absolute path>/some-image.png

or
<some relative path>/some-image.png
where <some relative path> is a folder in your project folder

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