其他分享
首页 > 其他分享> > 【RF】认识简单语法

【RF】认识简单语法

作者:互联网

*** Settings ***
Library           DateTime
Library           Selenium2Library
Library           RequestsLibrary

*** Test Cases ***
testcase
    log    helloword!
    ${variable}    Set Variable    aaa
    log    ${variable}
    ${list}    Create List    a    b    c
    log    ${list}
    log    ${list}[0]
    ${dic}    Create Dictionary    key= value    fff=ddd
    log    ${dic}
    log    ${dic}[fff]
    Should Be Equal As Strings    ${dic}[fff]    ddd
    ${times}    Get Current Date
    log    ${times}


 

 

标签:log,认识,Create,list,Library,dic,语法,RF,fff
来源: https://www.cnblogs.com/hanyr/p/16463664.html