← Back to team overview

sikuli-driver team mailing list archive

[Question #161233]: How to resolve intermittent FindFailed errors with .png files

 

New question #161233 on Sikuli:
https://answers.launchpad.net/sikuli/+question/161233

I've managed to write my first sikuli script that has a number of clicks. It runs successfully on occasion, but with intermittent common errors.

I use the click() function on many steps and during run times would get intermittent messages like this:

"org.sikul.script.FindFailed:FindFailed: can not find ImageFile.png
 Line 42, fine in C:\DOCUME~1\myname\LOCALS~1\Temp\tmp-4647441.sikuli\MySikuliScript.sikuli\MySikuliScript.py"

This seems to be a common message. 

What would be the best way to handle this? What is the common cause? Is it the way that I capture the images?
Many of click images are either text links or just input boxes.

If you can provide me with some good practice tips for this would be great. Thank you.


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