← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #214020]: Handling platform UI differences

 

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

    Status: Open => Answered

j proposed the following answer:
There are two possibilities and you probably will not like any of them:

1. Use different images. GUI-elements that have a different appearance
need different images. There is no general workaround for this problem,
it's just the nature of screenshot based testing.

2. Use images that don't have different appearance. Depending on the
problem you are trying to solve, maybe there are some parts of the
screen that don't change. Maybe you can automate the problematic part
with keyboard input or a bash/shell script. Maybe you can read the
window titles with OCR using region.text().

Maybe we can help you more if you have a specific script and image.

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