Warning, /frameworks/syntax-highlighting/autotests/input/test.robot is written in an unsupported language. File is not indexed.

0001 *** Comments ***
0002 Some comments go here
0003 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a quam erat.
0004 Nam ante lorem, placerat et est a, blandit rutrum magna. Vivamus congue ipsum eget neque posuere, nec egestas risus cursus. Proin nec interdum orci.
0005 Vivamus blandit, elit sed vehicula lobortis, orci massa malesuada nibh, at rutrum lacus quam a metus. Donec velit magna, pulvinar eget metus eu, aliquet sagittis ante.
0006     ...   Donec egestas neque vel libero finibus hendrerit. Nam tempus quam ut mi interdum vulputate. Mauris ac auctor magna.
0007 Maecenas sollicitudin, tortor nec auctor pellentesque, sapien neque accumsan enim, quis porttitor magna est non nibh.
0008 Pellentesque facilisis luctus nulla, ut dignissim ligula vestibulum ac. Sed sit amet eros non turpis congue facilisis vitae vitae orci.
0009 Morbi et lobortis nibh. Proin blandit, diam ut blandit aliquam, ligula diam posuere lorem, sed malesuada quam massa eu elit. S
0010 uspendisse ultrices velit nec mauris laoreet, eget tristique tortor maximus.
0011 
0012 *** Settings ***
0013 Documentation    Simple example demonstrating syntax highlighting.
0014 ...              Multiple lines.
0015 ...              Thanks to https://spage.fi/highlight-robot !
0016 Library          ExampleLibrary
0017 Test Setup       Test Setup Keyword       argument   argument with ${VARIABLE}
0018 Test Teardown    Test Keyword Teardown    argument   argument with ${VARIABLE}
0019 Suite Setup      Big Suite Setup          ${ARG}     argument with ${VARIABLE}
0020 Suite Teardown   Teardown keyword         argument   argument with ${VARIABLE}
0021 # Comment in here too
0022 Resource            ${RESOURCES}/file.txt
0023 Variables           ${VARIABLES}/file.txt
0024 
0025 *** Variables ***
0026 ${VARIABLE}      Variable value
0027 @{LIST}          List    variable    here
0028 &{DICT}          Key1=Value1    Key2=Value2
0029 
0030 *** Test Cases ***
0031 First example
0032     [Documentation]    Most amazing
0033     ...                documentation
0034     Initialize System
0035     Do Something
0036     # Comment
0037     Result Should Be    ${42}
0038     Test if something and else something
0039     A cool suite keyword    that takes a string
0040     [Teardown]    Cleanup System    # Being a good citizen
0041 
0042 Test if something and else something
0043     [Documentation]    Do not change colors in middle of kw/tc name
0044     [Setup]    Small Keyword Setup
0045 
0046     Kw for if something and else something
0047     Do a thing     ${thing}
0048     Run a for loop
0049     Run a while loop to end
0050     #A comment
0051     Kw for if something and else something
0052     ${status} =    BuiltIn.Evaluate 0 < ${result} < 10
0053     Then print    ${status}
0054 
0055 Second ${variable} example
0056     [Documentation]     Oneliner
0057     [Template]    Keyword
0058     [Tags]        aaa    bbb    ccc
0059     argument1   argument2
0060     argument    ${VARIABLE}
0061     @{LIST}
0062 
0063 Three ${var} example ${var2} last ${var3}
0064     [Documentation]     Oneliner
0065     [Tags]    tag1    tag2
0066     ...       more    tags
0067     Given system is initialized
0068     When something is done
0069     # Comment
0070     # Another Comment
0071 # Oops this comment is here
0072                 # This comment is way over here!
0073     And things are ok
0074 
0075     Then result should be "42" but not ${var1} #Anything inside "" should be a string
0076     Another result should be '23' #also for ''
0077 
0078 
0079 
0080 *** Keywords ***
0081 Result Should Be
0082     [Arguments]    ${expected}
0083     ${actual} =    Get Value
0084     Should be Equal    ${actual}    ${expected}
0085 
0086 Then result should be ${expected}
0087     Result Should Be    ${expected}
0088     this is also a      $variable
0089     IF    $var_in_py_expr1 == $var_in_py_expr2
0090         Call Keyword
0091     ELSE
0092         #nothing!!
0093         Do nothing
0094     END
0095 
0096 Kw for if something and else something
0097     WHILE   ${var} = ${True}
0098         IF    $var_in_py_expr1 == $var_in_py_expr2
0099             Call Keyword
0100         ELSE
0101             #nothing!!
0102             Do nothing
0103         END
0104     END
0105 
0106 Log items
0107     [Arguments]    @{items}    ${log_values}=True
0108     IF    not ${items}
0109         Log to console    No items.
0110     ELSE IF    len(${items}) == 1
0111         IF    ${log_values}
0112             Log to console    One item: ${items}[0]
0113         ELSE
0114             Log to console    One item.
0115         END
0116     ELSE
0117         Log to console    ${{len(${items})}} items.
0118         IF    ${log_values}
0119             FOR    ${index}    ${item}    IN ENUMERATE    @{items}    start=1
0120                 Log to console    Item ${index}: ${item}
0121             END
0122         END
0123     END
0124 
0125 
0126 *** Tasks ***
0127 Process invoice
0128     Read information from PDF
0129     Validate information "asd"
0130     Submit information to backend system
0131     Validate information is visible in web UI
0132