← Back to team overview

sikuli-driver team mailing list archive

[Question #293512]: Adding Robotframework to SikuliX

 

New question #293512 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293512

Hello,

I am trying to get SikuliX to 'play with' Robot Framework as outlines here: http://www.sikulix.com/support.html

I am running with:
- Win 10 64-bit
- SikuliX 1.1.0 (2015-10-05_(17:07)
   - Installed with option 1 and 2 ticked
- Python 2.7.5
- I downloaded the Robot folder via the link about and placed the files in '%appdata%/Roaming/SikuliX/Lib/robot/'

What I am trying to do:

Run a simple test case that will output some reporting to test that this is working.  Getting a report output at the end of the test is the end goal here.

What I have tried:

1) I have tried making a test script in Sikuli that contains the code found in testRun.py (via the link above), but I get these errors:

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named robot

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'robot' is not defined

2) I have tried running a Robot Framwork test script for the calculator, outlined here: https://bitbucket.org/robotframework/robotdemo/src/51f472687b6a46e88b7c179423f0f336e19497fc/data_driven.robot?at=master&fileviewer=file-view-default

When I do, I get this error:  

[error] script [ Testrobot ] stopped with error in line 33 at column 22
[error] SyntaxError ( "no viable alternative at character '$'", )

^^I have no idea what that means

3) I've tried making sure all single or double or brackets or any sort are all closed or the correct kind - same errors.  

I am really lost at this point.  

Does anyone know what I am doing wrong?  Or, does anyone just have a simple test case I can copy/paste into Sikuli so I can run it and see the HTML report files that are output?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.