Question #261208 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261208

balu posted a new comment:
Now I have the same versions of software's that Mike mentioned in his
blog : "https://github.com/Tset-Noitamotua/Sikuli-and-Robot-Framework-
Integration."

Following is my system configuration now:
==================================

    -  Windows 7 32 bit
    - Java version 1.8.0_31 (build 1.8.0_31) JRE
    -  SikuliX 1.1.0
    -  Jython 2.7 beta3 (Jython 2.7b3)
    -  Robot Framework 2.8.7
    -  Python 2.7.8.10


PATH Settings configured:
=====================

CLASSPATH : C:\robot\libs\SikuliX_110\sikulixapi.jar
JYTHONPATH : C:\jython2.7b3\Lib
PYTHONPATH : C:\Python27\Lib\
SIKULIX_HOME : C:\robot\libs\SikuliX_110\
PATH : 
C:\Users\symbol\Downloads\libs;C:\Tcl\bin;%APPDATA%\Python\Scripts;C:\Program 
Files\Intel\WiFi\bin\;C:\Program Files\Common 
Files\Intel\WirelessCommon\;%PATH%;C:\MinGW\bin;C:\MinGW\mingw32\bin;C:\MinGW\msys\1.0\bin;C:\MinGW\msys\1.0\sbin;C:\jython2.7b3\bin;C:\Users\symbol\Desktop\Sikuli
 Install\Sikuli\Sikuli-X-1.0rc3 (r905)-win32\Sikuli-IDE\libs;C:\Program 
Files\Java\jre1.8.0_31\bin;%SIKULIX_HOME%;%SIKULIX_HOME%libs;C:\Python27\Scripts

My robottest.bat contents:
======================

@echo off

set sikulix_jar=C:\robot\libs\SikuliX_110\sikulixapi.jar
set 
robot_framework_jar=C:\Users\symbol\Desktop\Verify_Step2\robotframework-2.8.7.jar

java -cp "%robot_framework_jar%;%sikulix_jar%" ^
     -Dpython.path="%sikulix_jar%/Lib" ^
     org.robotframework.RobotFramework ^
     --pythonpath=calc.sikuli ^
     --outputdir=results ^
     --loglevel=TRACE ^
     %*

My "verify_operations.txt" contents:
=============================
        
***Settings***

Library         C:/Users/symbol/Desktop/Verify_Step2/calc.sikuli/calc.py


***Test Cases***
Verify that 2 + 2 = 4
        Start App
        Verify App
        Perform Action  2  +  2
        Verify Result  4

Verify that 2 + 2 = 5
        Start App
        Verify App
        Perform Action  2  +  2
        Verify Result  5
        
        
Now If run the test, I am getting following error:

C:\Users\symbol\Desktop\Verify_Step2>robottest.bat "c:\Users\symbol\Desktop\Veri
fy_Step2\robot_suite\verify_operations.txt"
Exception in thread "main" Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\symbol\Desktop\Verify_Step2\robotframework-2.8.7.jar\Lib\robot\
__init__$py.class", line 43, in <module>
  File "C:\Users\symbol\Desktop\Verify_Step2\robotframework-2.8.7.jar\Lib\robot\
pythonpathsetter$py.class", line 17, in <module>
  File "C:\jython2.7b3\Lib\os.py", line 64, in <module>
    import ntpath as path
  File "C:\jython2.7b3\Lib\ntpath.py", line 12, in <module>
    import warnings
  File "C:\jython2.7b3\Lib\warnings.py", line 6, in <module>
    import linecache
SyntaxError: ("'with' will become a reserved keyword in Python 2.6", ('C:\\jytho
n2.7b3\\Lib\\linecache.py', 127, 8, ''))

C:\Users\symbol\Desktop\Verify_Step2>


Please help me to fix this issue in your free time.


Thanks,
Balu.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to