Want to pass a .py to Sikuli instead of a .sikuli dir to run --- solution
********** solution
-- 1.
Set up the standalone packages as described in
https:/
-- 2.
you need at the beginning of each script:
from sikuli.Sikuli import *
-- 3.
run your script using
java -cp "C:\Program Files (x86)\Sikuli X\sikuli-
-------
When launching Sikuli using the command line such as
>java -jar "C:\Program Files (x86)\Sikuli\
is it possible to send it a test.py file instead of the test.sikuli dir?
We have a granular python unit test runner that allows us to cherry pick unit tests by creating a new temp ~test.py file in the same dir as the test.py file and running that file instead of the original file
However when we try to do this with Sikuli the IDE concatenates the name of the file to the path
'File not found - C: \\Tests.
in the script file, setBundlePath() uses a relative path so we can't copy the file to a new directory without copying all the images across to the new dir and this can be time consuming.
Is there a way to switch off the concatenation ?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Shane Kalpage
- Solved:
- Last query:
- Last reply: