RobotFramework
Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD).
- cd ~/Downloads
- java -jar robotframework-2.8.7.jar
https://github.com/robotframework/robotframework
https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkQuickstartGuide
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