首页 > 其他 > 详细

robotframework用例标签的使用

时间:2018-07-02 18:07:00      阅读:446      评论:0      收藏:0      [点我收藏+]
*** Settings ***
Force Tags req-42
Default Tags owner-john smoke

*** Variables ***
${HOST} 10.0.1.42

*** Test Cases ***
No own tags
[Documentation] this test has tags owner-john,smoke and req-42
NO OPERATION
With own tags
[Documentation] this test has tags not_ready,owner-mrx and req-42
[Tags] owner-mrx not_ready
NO OPERATION
Own tags with variables
[Documentation] This test has tags host-10.0.1.42 and req-42
[Tags] host-${HOS]
no operation
Empty own tags
[Documentation] this test has only tag req-42
[Tags]
no operation
Set Tags and Remove Tags Keywords
[Documentation] This test has tags my tag and owner-john
Set Tags mytag
Remove Tags smoke req_*

robotframework用例标签的使用

原文:https://www.cnblogs.com/jiyanjiao-702521/p/9255027.html

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