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

robotframework用例标签的使用

时间:2018-07-02 18:18:57      阅读:833      评论:0      收藏:0      [点我收藏+]

标签:smo   span   color   tag   标签   document   使用   ***   var   

*** 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用例标签的使用

标签:smo   span   color   tag   标签   document   使用   ***   var   

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

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