← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #206250]: Getting as ERROR saying - ".png looks like a file, but can't be found on the disk. Assume it's text."

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, now Sikuli finds the image file, but does not find the image itself
on the screen during 3 seconds after the click action is started to be
processed (FindFailed Exception).

So it might be, that the popup() by steeling the focus from your app,
makes the app to change something in its appearance, so that the
similarity drops below 0.7 (which leads to not found).

I suggest to change the popup into a print or just delete it and run the
script again (maybe using the low motion mode).

Another option is, to capture the image with as little background around
as possible and concentrate the image on the cetral specifics.

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