更新时间:2023-01-15 18:41:11
有多种添加标记的方法。
仅特定于测试的内容如下:
*** Test cases ***
Test A
[tags] tagA tagB
Log This is test A
可以通过在您的设置中放置Force Tags
将标签添加到文件中的所有测试用例:
*** Settings ***
Force Tags NewTag
有关详细信息,请查看用户指南:http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#tagging-test-cases