← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #293475]: how to deal with visual differences between OS?

 

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

RaiMan proposed the following answer:
Yes, with SikuliX you will always need different image sets in such
cases, that contain those images, that are different in different
situations, because the visual approach is strictly pixel based.

Version 2 will have a better support for creation and management of such
image sets.

The next nightly 1.1.1 (this week) has a new feature (FindFailed
handler), that would allow you to implement your own solution (e.g.
capture on the fly) to overcome this situation.

Font differences like you seem to have, could also be managed in some
cases by using the text feature (but might not help due to not being
very reliable in the moment).

Another option always is, to avoid those images completely and evaluate
their places in the GUI relative to images, that are found reliably.
This is most suitable and easy to implement with GUIs that are rather
fixed in all situations.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.