SikuliLibrary jar is failing to start in robotframwork

Asked by krishna

Hi,

i have been using Sikuli for automate the GUI application steps. Right now planning to implement the robot framework with sikuli.

I am using 64 bit windows machine.

I have tried to installed below setup files for to work along with robot framework:
#####################################################################################
step 1) python-2.7.9
step 2) wxPython2.8-win32-unicode-2.8.12.1-py27

Later i have added the python path in the windows environment settings.

step 3) robotframework-2.8.5.win32
step 4) robotframework-ride-1.3.win32

step 5) then, tried to execute the sample script using cmd, but its showing below error:
*************************************************************************************************************
D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSample\Calc_SikuliSample>pyb
ot firstskuli.txt
[ ERROR ] Error in file 'D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSam
ple\Calc_SikuliSample\firstskuli.txt': Initializing test library 'SikuliLibrary'
 with no arguments failed: Start sikuli java process failed!
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 40, in __in
it__
    self._start_sikuli_java_process()
  File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 97, in _sta
rt_sikuli_java_process
    self._wait_process_started()
  File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 114, in _wa
it_process_started
    raise RuntimeError('Start sikuli java process failed!')
=============================================
Firstskuli
=============================================
Windows Calculator Operations | FAIL |
Setup failed:
No keyword with name 'Add Image Path' found.

Also teardown failed:
No keyword with name 'Stop Remote Server' found.
------------------------------------------------------------------------------
Firstskuli | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
=============================================
Output: D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSample\Calc_SikuliS
ample\output.xml
Log: D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSample\Calc_SikuliS
ample\log.html
Report: D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSample\Calc_SikuliS
ample\report.html
**********************************************************************************************************

step 6) Then tried to run the script using RIDE, but got below error :

****************************************************************
command: pybot.bat --argumentfile c:\users\krishnaraj\appdata\local\temp\RIDEa3ggg5.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:53370:False D:\Software\Sikuli_Robot\ROBOTSW\ROBOTSW\Calc_SikuliSample\Calc_SikuliSample\firstskuli.txt
[ ERROR ] option --monitorcolors not recognized

Try --help for usage information.

test finished 20160824 17:21:01
****************************************************************

#####################################################################################

From the " step 5) " it looks like, Initializing test library 'SikuliLibrary' with no arguments failed: Start sikuli java process failed!.

So, I have the below queries :
> Is there any particular version of "SikuliLibrary" for windows32 and windows64 machines.
> Is the software version installed in the above steps should be in win64 version?. (i use windows64 bit machine)

Thank you.

Regards,
Krishnaraj Acharya.

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
masuo (masuo-ohara) said :
#1

Did you already read the following docs?
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

If you want to use SikuliX and RobotFramewok as soon as posible, you can also use RobotFramework bundled with the sikulixapi.jar.

Can you help with this problem?

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

To post a message you must log in.