← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261208]: Sikuli robot framework integration

 

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

    Status: Answered => Open

balu is still having a problem:
Hi Raiman,

  Thanks for your reply.

I tried to use both the following one by one in verify_operations.txt:

Library calc.Calculator WITH NAME Calculator
Library C:/Users/symbol/Desktop/Projects/Sikuli Projects/calc.sikuli/calc.py

but still I am getting following error:

C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli>robottest.bat verif
y_operations.txt
[ ERROR ] Error in file 'C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.s
ikuli\verify_operations.txt': Importing test library 'calc.Calculator' failed: I
mportError: No module named sikuli
Traceback (most recent call last):
  File ".\calc.py", line 7, in <module>
    from sikuli import *
  File "C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\Lib\sikuli\
__init__.py", line 3, in <module>
    from Sikuli import *
  File "C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\Lib\sikuli\
Sikuli.py", line 10, in <module>
    from org.sikuli.script import SikuliScript
PYTHONPATH:
  C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\robotframework-2.
8.5.jar\Lib\robot\libraries
  C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\robotframework-2.
8.5.jar\Lib
  C:\jython2.5.4rc1\Lib
  C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\Lib
  __classpath__
  __pyclasspath__/
  .
  C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli
CLASSPATH:
  C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\robotframework-2.
8.5.jar
  C:\robot\libs\SikuliX_110\sikulixapi.jar
==============================================================================
Verify Operations
==============================================================================
Verify that 2 + 2 = 4 | FAIL |
No keyword with name 'Start App' found.
------------------------------------------------------------------------------
Verify that 2 + 2 = 5 | FAIL |
No keyword with name 'Start App' found.
------------------------------------------------------------------------------
Verify Operations | FAIL |
2 critical tests, 0 passed, 2 failed
2 tests total, 0 passed, 2 failed
==============================================================================
Output: C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\results\ou
tput.xml
Log: C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\results\lo
g.html
Report: C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli\results\re
port.html

C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikuli>

Could you please give me a idea to fix this.

Thanks in advance.
Hide

    History
    Link existing bug
    Create bug report
    Link to a FAQ
    Create a new FAQ

Message:

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.