示例:>pybot -i smoke D:\code\测试用例.robot
1.运行指定用例:
-t <name> //--test
2.运行指定的用例套件:
-s <name> //--suite
3.运行指定标签的用例:
-i <tag> //--include
4.运行除指定标签以外的用例:
-e <tag> //--exclude
5.指定文件输出的目录:
-d <dir> //--outputdir
6.指定文件输出的文件名(xml文件):
-o <file> //--output
7.设置运行时的变量:
-v <name:value> //--variable
8.设置运行时变量(从文件读取):
-V <path:args> //--variablefile
9.设置重新运行失败的用例:
-R <outputxml_file> //--returnfailed
10.设置重新运行失败的用例套件:
-S <outputxml_file> //--returnfailedsuites
RF内置pybot命令
最新推荐文章于 2022-07-08 11:50:37 发布