RobotFramework

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD).

https://github.com/robotframework/robotframework

https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkQuickstartGuide

http://search.maven.org/remotecontent?filepath=org/robotframework/robotframework/2.8.7/robotframework-2.8.7.jar

https://code.google.com/p/robotframework-seleniumlibrary/wiki/InstallationInstructions

http://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar

test1.txt for Windows

*** Settings ***
Library       OperatingSystem

*** Variables ***
${MESSAGE}    Hello, world!
${PATH}         c:\\temp\\example.txt
${STRX}    Hello, world!
*** Test Cases ***
File Exist Test
    File Should Exist   ${PATH}
Test Case String
    Should Contain    ${STRX}    world
    Should Contain    ${STRX}    Hello

test1.txt for Linux

*** Settings ***
Library       OperatingSystem

*** Variables ***
${MESSAGE}    Hello, world!
${PATH}         /tmp/example.txt
${STRX}    Hello, world!
*** Test Cases ***
File Exist Test
    File Should Exist   ${PATH}
Test Case String
    Should Contain    ${STRX}    world
    Should Contain    ${STRX}    Hello

Run test with java -jar robotframework-2.8.7.jar test1.txt

RobotFramework (last edited 2015-01-16 21:13:31 by 140)