[1.1.0] Robot Framework: how to use together with SikuliX (user keywords / test libraries)
------ This is a setup that definitely works:
RFW = Robot Framework
--- preparations:
- have Python 2.7+ installed
- install RobotFrameWork using the respective installer (Windows installer.exe) (2.8+)
… now you have a useable RFW together with Python
since we want to use SikuliX features, you need
- an actual Java (recommended 7 or 8)
- install Jython or download the Jython standalone jar (needed 2.7b3)
- have a sikulixapi.jar created with setup (version 1.1.0+)
now create a command file jybot (or however you name it) wherever you want:
(this the Windows jybot.bat version, Mac and Linux users should be able to adapt ;-)
@echo off
setlocal
set ROBOT_HOME=
set JYTHON_
set SIKULIX_
set CLASSPATH=
set JYTHONPATH=
java -cp %JYTHON_
%*
endlocal
--- usage to run tests
jybot.bat <…. any RFW parameters …> <pathToYourRFW-
This is only a showcase, to point out the key needs.
I used different folder variables for the participating stuff (RFW, Jython and SikuliX).
to allow, to use any other folder organization and adjust the variables as needed.
more actual information, test setups and help:
https:/
-------
Hi,
I am following below blog to run calculator test in my windows 7.
Now I got stucked in STEP 2. I am getting following error:
C:\Users\
y_operations.txt
Exception in thread "main" Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\
ork-2.5.
File "C:\Users\
line 118, in <module>
raise ImportError, 'no os specific module found'
ImportError: no os specific module found
C:\Users\
My robottest.bat content:
@echo off
set sikulix_
set robot_framework
java -cp "%robot_
-Dpython.
org.
--
--
--
%*
Could anyone please guide me on this.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: