Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
RaiMan posted a new comment:
More suggestions:
You should generally restrict the searches at least to your app's window (see
App class).
And whenever possible restrict the search area as much as possible.
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Status: Open = Answered
RaiMan proposed the following answer:
--- import
if the main script and the imported scripts are in the same folder, the import
works without the need to manipulate sys.path
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Status: Answered = Solved
Neo confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers,
New question #204776 on Sikuli:
https://answers.launchpad.net/sikuli/+question/204776
Hello All,
I wanted to know how to use Sikuli for localization testing. Requirement is, we
are evaluating Sikuli for our desktop application (developed using Qt) on both
env Windows and Mac. Sikuli is so
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
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Status: Answered = Open
Neo is still having a problem:
yes, the approach suits. If I need to test 5 locale, I would include 5 import
statements (images)
btw, how do I know which locale i would be
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Neo posted a new comment:
Further, I have created a simple script (created images-de-de.sikuli
which has now 3 images - just captured)
from sikuli import *
from images-de-de import *
def test():
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Neo gave more information on the question:
i have renamed images-de-de.sikuli to images_de_de.sikuli - error is
resolved. But, received different error - ImportError: No module named
images_de_de :( looking
Question #204776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204776
Neo gave more information on the question:
Very interesting. After renaming (my folder name), sikuli is not able to
import it. Now, I have created a new images folder and is able to import
and works fine.
9 matches
Mail list logo