← Back to team overview

sikuli-driver team mailing list archive

[Question #360902]: SikuliLibrary jar is failing to start in robotframwork

 

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

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.

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