RobotFramework is an actively used programming language created in 2013.

6Years Old 6,597Users 0Jobs

Example code from Linguist:

*** Settings ***
Documentation     Example test case using the gherkin syntax.
...               This test has a workflow similar to the keyword-driven
...               examples. The difference is that the keywords use higher
...               abstraction level and their arguments are embedded into
...               the keyword names.
...               This kind of _gherkin_ syntax has been made popular by
...               [|Cucumber]. It works well especially when
...               tests act as examples that need to be easily understood also
...               by the business people.
Library           CalculatorLibrary

*** Test Cases ***
    Given calculator has been cleared
    When user types "1 + 1"
    and user pushes equals
    Then result is "2"

*** Keywords ***
Calculator has been cleared
    Push button    C

User types "${expression}"
    Push buttons    ${expression}

User pushes equals
    Push button    =

Result is "${result}"
    Result should be    ${result}

Last updated February 11th, 2019