All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.atest.robot.variables.extended_assign.txt Maven / Gradle / Ivy

The newest version!
*** Settings ***
Suite Setup      Run Tests    ${EMPTY}    variables/extended_assign.txt
Force Tags       regression
Default Tags     pybot    jybot
Resource         atest_resource.txt

*** Test Cases ***

Set attributes to Python object
    ${tc} =    Check Test Case    ${TESTNAME}
    Check Log Message    ${tc.kws[0].msgs[0]}    \${VAR.attr} = new value
    Check Log Message    ${tc.kws[1].msgs[0]}    \${ v a r . attr2 } = nv2

Setting attribute to Java object
    [Tags]    jybot
    Check Test Case    ${TESTNAME}

Set attribute not directly in base
    Check Test Case    ${TESTNAME}

Trying to set un-settable attribute
    Check Test Case    ${TESTNAME}

Using extended syntax when base variable does not exists creates new variable
    Check Test Case    ${TESTNAME}

Overriding variable that has dot it its name is possible
    Check Test Case    ${TESTNAME}

Strings and integers do not support extended assign
    Check Test Case    ${TESTNAME}

Attribute name must be valid
    Check Test Case    ${TESTNAME}

Extended syntax is ignored with list variables
    Check Test Case    ${TESTNAME}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy