← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295987]: no module named org.sikuli.*

 

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

    Status: Answered => Open

clem is still having a problem:
Okay. It raises two new questions then.

1-- According to the following web page, it is possible to run SikuliX Scripts without opening the IDE (with the option --run or -r) and this is what I would like to do : to use SikuliX without the IDE.
http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#how-to-run-sikulix-from-command-line

I am in the folder where "runsikulix" file is. 
I type this command : runsikulix --run <path-to-my-.sikuli-folder>/first_tests.sikuli

This returns me "runsikulix: command not found"

If I type <path-to-sikuli)/runsikulix --run <path-to-my-.sikuli-folder>/first_tests.sikuli
It opens the IDE. Not even my script.

2-- (not sure that it is possible before version 2) How to create a file "MyRobotFrameworkLibrary.py" which uses the SikuliX module, to be included in RobotFramework with the setting "Library       MyRobotFrameworkLibrary.py" ?
May I write :
import org.sikuli.script.SikulixForJython
from sikuli import *
at the beginning of my lib ? (pretty sure I cannot, but I prefer asking)

Thanks RaiMan !

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.