码迷,mamicode.com
首页 > 其他好文 > 详细

【RF库关键字get time测试】

时间:2017-06-15 23:36:53      阅读:268      评论:0      收藏:0      [点我收藏+]

标签:epo   row   技术   ret   ges   --   nbsp   关键字   rda   

技术分享

 

*** Test Cases ***
Timestamp
${time} GET TIME
${secs} GET TIME epoch
${year} GET TIME return year
${yyyy} ${mm} ${dd} GET TIME year,month,day
@{time} GET TIME year month day hour min sec
${y} ${s} GET TIME seconds and year
${date} set variable ${yyyy}${mm}${dd}
log ------------------------------------------------------
${time} get time \ 1177654467 # Time given as epoch seconds
${secs} get time sec 2007-04-27 09:14:27 # Time given as a timestamp
${year} get time year NOW # The local time of execution
${month} get time year month NOW
${yesterday} get time year month day NOW - 1 day
${tomorrow} get time year month day NOW + 1 day
@{time} get time hour min sec NOW + 1h 2min 3s # 1h 2min 3s added to the local time
@{utc} get time hour min sec UTC # The UTC time of execution
${hour} get time hour UTC-1 hour # 1h subtracted from the UTC time

 技术分享

 

【RF库关键字get time测试】

标签:epo   row   技术   ret   ges   --   nbsp   关键字   rda   

原文地址:http://www.cnblogs.com/apple2016/p/7020543.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!