I cannot understand ROBOT with Sikulix integration

Asked by Shobin

I am trying to integrate SikuliX with Robot Framework and I came across with the Mike's Cognition tutorial which apparently helps in integrating the two but since I have no prior knowledge of these technologies, I am a hard time following the tutorial.

I have been trying to do this for two weeks now , could someone dumb down what mike is saying?

Link : http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html

PS: I have everything Installed

SikuliX 1.1.0
ROBOT Framework 3.0
Jython 2.7
Python 2.7

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1
Revision history for this message
Shobin (shobinwind) said :
#2

Thank you for your response but I am still finding it difficult to follow the tutorial.. :-(

I have successfully run the calc.py script from sikuli IDE but not knowing how to install the robot framework..

The tutorial is incomplete, it says "TODO" in the steps. :-(

Revision history for this message
RaiMan (raimund-hocke) said :
#3
Revision history for this message
Shobin (shobinwind) said :
#4

Thank you again, but I am not familer with maven or eclipse.

This is the error I am encountering

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\10613527>pybot --version
Robot Framework 3.0 (Python 2.7 on win32)

C:\Users\10613527>robottest.bat robot_suite\verify_operations.txt
[ ERROR ] Error in file 'C:\Users\10613527\robot_suite\verify_operations.txt': I
mporting test library 'calc.Calculator' failed: ImportError: No module named Sik
uli
Traceback (most recent call last):
  File "C:\Users\10613527\calc.sikuli\calc.py", line 2, in <module>
    from Sikuli.Sikuli import *
PYTHONPATH:
  C:\Users\10613527\calc.sikuli
  C:\Users\10613527\Downloads\robotframework-2.8.5.jar\Lib\robot\libraries
  C:\Users\10613527\Downloads\robotframework-2.8.5.jar\Lib
  C:\jython2.5.1\bin
  C:\Users\10613527\Downloads\Lib
  __classpath__
  __pyclasspath__/
  .
  C:\Python27
CLASSPATH:
  C:\Users\10613527\Downloads\robotframework-2.8.5.jar
  D:\sik source\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\10613527\results\output.xml
Log: C:\Users\10613527\results\log.html
Report: C:\Users\10613527\results\report.html

C:\Users\10613527>

Revision history for this message
Shobin (shobinwind) said :
#5

Also, I am planning to record a You tube Video once I am done doing it since I feel this is an extremely potent tool which is a pain to set up and there is no tutorial on you tube,

Revision history for this message
RaiMan (raimund-hocke) said :
#6

As mentioned in the linked question in my comment #3:
Just be a bit patient and wait for SikuliX 1.1.1 (a new nightly today), then you will get everything out of the box with no extra effort.

... and the "youtube video" is already here:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

... but of course feel free, to go your own way.

Revision history for this message
Shobin (shobinwind) said :
#7

Awesome.. Cant wait.. :-) Thank you!

Can you help with this problem?

Provide an answer of your own, or ask Shobin for more information if necessary.

To post a message you must log in.