首页 > 其他 > 详细

RF--Collections操作列表和字典的一个库

时间:2020-07-09 00:01:11      阅读:84      评论:0      收藏:0      [点我收藏+]

 

*** Settings ***
Library  Collections    #RF操作列表和字典的一个库
*** Test Cases ***
case1
    @{list}    create list   111   222   333
    log to console   ${list}    #结果:[‘111‘, ‘222‘, ‘333‘]
    append to list   ${list}    a   b   c
    log to console   ${list}    #结果:[‘111‘, ‘222‘, ‘333‘, ‘a‘, ‘b‘, ‘c‘]
    remove from list   ${list}  0   #下标从0开始
    log to console   ${list}    #结果:[‘222‘, ‘333‘, ‘a‘, ‘b‘, ‘c‘]

 

RF--Collections操作列表和字典的一个库

原文:https://www.cnblogs.com/guang2508/p/13269941.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!