This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set sikuli_jar=C:\Program Files\Sikuli X\sikuli-script.jar | |
set CLASSPATH=%sikuli_jar% | |
set JYTHONPATH=%sikuli_jar%/Lib | |
jybot --pythonpath=calc.sikuli ^ | |
--outputdir=results ^ | |
--loglevel=TRACE ^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set sikuli_jar=C:\Program Files\Sikuli X\sikuli-script.jar | |
java -cp "robotframework-2.5.5.jar;%sikuli_jar%" ^ | |
-Dpython.path="%sikuli_jar%/Lib" ^ | |
org.robotframework.RobotFramework ^ | |
--pythonpath=calc.sikuli ^ | |
--outputdir=results ^ | |
--loglevel=TRACE ^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
***Settings*** | |
Library calc.Calculator WITH NAME Calculator | |
***Test Cases*** | |
Verify that 2 + 2 = 4 | |
Start App | |
Verify App | |
Perform Action 2 + 2 | |
Verify Result 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
java -Dpython.path=Lib -jar sikuli-script.jar calc.sikuli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import with_statement | |
from sikuli.Sikuli import * | |
class Calculator(object): | |
def __init__(self): | |
self.appCoordinates = (0, 0, 1024, 768) | |
def startApp(self): | |
calcApp = App("Calculator") |