【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}


 

 

posted @ 2022-07-10 18:08  hanyr  阅读(33)  评论(0)    收藏  举报