sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49546
Re: [Question #676563]: Generic image validation method
Question #676563 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676563
RaiMan proposed the following answer:
sorry, update for comment #1
-- image store
Put your images with a naming convention into one or more folders (which might be inside your project or somewhere outside)
Use the ImagePath feature, to tell SikuliX where an image named "someImage" is stored.
Please read the docs.
--- check existence (with 1.1.4)
there is no "generic" function needed, simply
assert scr.has("someImage"), "possible message in case of fail"
or
assert scr.has("someImage", waitTime), "possible message in case of
fail"
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.