https://github.com/robotframework/RIDE
Raw File
Tip revision: f5071fed610299be5f75d64b418cd51bd19e1ac9 authored by Janne Härkönen on 21 July 2015, 05:19:32 UTC
Version 1.4.1b1
Tip revision: f5071fe
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