← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204776]: Localization testing

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The approach is to use a variable for every image:

image1 = "some-image-EN-US.png"
...

put this EN-US image set into a separate images-en-us.sikuli.

make a seperate .sikuli with the same vaiables but different images for
every locale

Your test scripts just have to say

from images-xxx import * # xxx is the locale

and use the variables instead of the image file names.

So you only need the script once tested in EN-US and it should run with
the image set in every locale.

come back for more hints.

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