sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01549
[Question #147000]: How do you organize image reference inside your code?
New question #147000 on Sikuli:
https://answers.launchpad.net/sikuli/+question/147000
Hi,
I was looking for ideas on how to organize the use of images inside my code. I have something like this:
src - .py files with specific methods/tests
img - dir structure with pngs corresponding to different windows of the application
runtests.sikuli - the main file which runs all the tests
So...how do you store references to an image?, do you use constants?, singleton?, a xml/json file?
Having the explicit reference to the image path doesn't look so good after a few lines of code.
Thanks in advance!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.