https://github.com/robotframework/RIDE
Raw File
Tip revision: 794dc533007713860d722399943313042c627d4c authored by Janne Härkönen on 16 January 2016, 17:46:57 UTC
Miscellanous fixes
Tip revision: 794dc53
Suite.txt
*** Settings ***
Resource        resources${/}resu.txt
Resource        generated_resut.txt
Library         String

*** Test Cases ***
Test Case 1
    Some local keyword  with  arguments
    No Operation
    Some keyword from resource file  2
    Should Be Empty  ${EMPTY}  5
    None Existing Keyword
    : FOR  ${i}  IN RANGE  1000
    \  Log  ${i}

Templated Test Case
    [Template]  Log
    Hello
    World

*** Keywords ***
Some local keyword
    [Arguments]  ${arg1}  ${arg2}
    Log  This is local ${arg1} for ${arg2}
    : FOR  ${kekkonen}  IN  1  2  3
    \  Log  ${kekkonen}  ${EMPTY}  ${EMPTY}  NOT ALLOWED!!
    ${value}=  Set Variable  4
    Replace String Using Regexp  ${arg1}  ${arg2}  replacee  7
    [Return]  65

back to top