sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27436
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
Status: Answered => Open
Greg is still having a problem:
I'm a little lost,
So I come back to robottest.bat.
I removed sikuli-script.jar and put sikuli-java.jar instead
I got the Lib library from sikuli-java.jar
But I have the same error as before when I used sikuli-script.jar
I added sikuli-java.jar in path
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.Calculator' failed: Im
portError: No module named calc
PYTHONPATH: ['C:\\work\\calc_step1\\robotframework-2.5.5.jar\\Lib\\robot\\librar
ies', 'C:\\work\\calc_step1\\robotframework-2.5.5.jar\\Lib', 'C:\\work\\calc_ste
p1\\Lib', 'C:\\work\\calc_step1\\robotframework-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
==============================================================================
Verify Operations
==============================================================================
Verify that 2 + 2 = 4 | FAIL |
No keyword with name 'Start App' found.
------------------------------------------------------------------------------
Verify Operations | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: c:\work\calc_step1\results\output.xml
Report: c:\work\calc_step1\results\report.html
Log: c:\work\calc_step1\results\log.html
in fact, usage of sikuli-script.jar instead of sikuli-java.jar doesn't
seem to change something
Here what I see in path (environment variable) , maybe it can help :
C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Altiris\Software Virtualization Agent\;C:\Program Files (x86)\MKS\IntegrityClient\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MKS\Toolkit\mksnt\;C:\Program Files (x86)\MKS\Toolkit\mksnt;C:\Python27\;C:\Python27\Scripts;C:\Program Files\TortoiseHg\;c:\selenium;c:\RobotFramework\libs;c:\Validation\Tools\Jython251;c:\Validation\Tools\Jython251\bin;C:\work\calc_step1\Lib\sikuli;C:\work\calc_step1\libs;C:\work\calc_step1\calc.sikuli;C:\work\calc_step1\sikuli-java.jar
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.