MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 2 as of 2015-01-16 20:51:45
  • RobotFramework

RobotFramework

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

  • cd ~/Downloads
  • wget java -jar robotframework-2.8.5.jar

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

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01