sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29256
Re: [Question #249773]: Can't find the images from the xml parse
Question #249773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/249773
Status: Needs information => Answered
RaiMan proposed the following answer:
as comment #7 shows:
- the image is downloaded
- you confirmed, that the image file exists locally at
C:\Users\cyang087\AppData\Local\Temp\cyang087\sikuli_cache\SIKULI_GLOBAL\584396_637164_178x100.jpg
- the find operation works as expected (doing 6 search attempts)
- the image cannot be found in the end
You need to verify, that the pixel pattern contained in this image file
can be found on your screen.
- download the image file manually
- drive your application manually to the point where YOU can see the image on the screen
- open a new script in the IDE
- insert the manually downloaded image using the button "insert image"
- use Preview (click thumbnail) to check wether the image is found
If no unknown magic is working behind the scene (which one usually call
a bug ;-) then the image should not be found.
the most possible reason is, that the image YOU are seeing on the screen is slightly different.
- edges might be rendered differently
- image contains text with a slightly different font
You can evaluate such situations by magnifying both images towards
pixel-visibility side by side in an image viewer and look for
differences.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.