Sikuli fails if the font size is different

Asked by Fazal Syed

System Under Test:
• Windows 7 Enterprise Service Pack1
• IE 8.0.7601.17514
• Flash Player: 10.3.183

We use Sikuli with Python and Robot Framework. Our test cases are showing false negatives when running tests on two different machines with same version of Windows, IE and Flash Player. We have the same Font settings, DPI, Color depth, IE zoom is set to 100% etc. on both of these machine.

The only difference is in the Font Size. Is there a way we can compare two images with different font sizes in Sikuli?

Any help on this will be highly appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

No.

If the searched image differs on the pixel level too much against the screen, it is searched on currently, the chances are high that it is not found.

And different font sizes are making the images very different.

So you either make your searches with images that do not contain the critical text or you need a separate image set for every different setup.

Can you help with this problem?

Provide an answer of your own, or ask Fazal Syed for more information if necessary.

To post a message you must log in.