sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33285
Re: [Question #268529]: where is sikuli-script.jar equivalent when integrating with Robotframework, Selenium
Question #268529 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268529
RaiMan posted a new comment:
in comment #14 I told you:
MUST BE:
import org.sikuli.basics.SikulixForJython
from sikuli import *
SikulixForJython is the helper, to put the sikulixapi.jar/Lib on
sys.path, if sikulixapi.jar is on the CLASSPATH.
sikulixapi.jar/Lib
MUST be on sys.path/JYTHONPATH, because here the Python API is located and especially the folder sikuli to make the
from sikuli import *
working.
so you either use JYTHONPATH (as you did now) or class path only, but
then <import org.sikuli.basics.SikulixForJython> as first statement in
the main python script (or at least before you touch any SikuliX feature
or issue the <from sikuli import *>
These are the current documented usage rules ;-)
I am working on a more automatic solution for all that especially with
respect to the integration of Selenium and RobotFramework.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.