sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27437
Re: [Question #252490]: [1.0.1] Sikuli integration Robot framework --- use sikuli-java.jar
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Greg gave more information on the question:
I 'm currently trying something else.
>From robotsuite_verifyoperations.txt the library was called like this :
*** Settings ***
Library calc.Calculator WITH NAME Calculator
and I got the previous error :
[ ERROR ] Invalid syntax in file 'c:\work\calc_step1\robot_suite\verify_operatio
ns.txt' in table 'Settings': Importing test library 'calc.Calculator' failed: Im
portError: No module named calc
Now i put the path of calc.py in verify_operations.txt :
*** Settings ***
Library C:/work/calc_step1/calc.sikuli/calc.py
and I got foolowing error :
C:\work\calc_step1>robottest.bat robot_suite\verify_operations.txt
[ ERROR ] Invalid syntax in file 'c:\work\calc_step1\robot_suite\verify_operatio
ns.txt' in table 'Settings': Importing test library 'calc' failed: ImportError:
No module named sikuli
PYTHONPATH: [u'c:\\work\\calc_step1\\calc.sikuli', 'C:\\work\\calc_step1\\robotf
ramework-2.5.5.jar\\Lib\\robot\\libraries', 'C:\\work\\calc_step1\\robotframewor
k-2.5.5.jar\\Lib', 'C:\\work\\calc_step1\\Lib', 'C:\\work\\calc_step1\\robotfram
ework-2.5.5.jar\\Lib', '__classpath__', '__pyclasspath__/', '.']
CLASSPATH: robotframework-2.5.5.jar
Traceback (most recent call last):
File "C:\work\calc_step1\robotframework-2.5.5.jar\Lib\robot\utils\importing$py
.class", line 94, in _import
File "c:\work\calc_step1\calc.sikuli\calc.py", line 2, in <module>
from sikuli.Sikuli import *
File "C:\work\calc_step1\Lib\sikuli\__init__.py", line 5, in <module>
from org.sikuli.basics import Debug
But at least the calc.py module is found
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.