命令行执行robot framework用例的常用命令

1. 执行指定目录下的所有suite

如下的目录,存在两suite

运行命令

pybot F:\python_space\robot_frame_work\test_interface\cs

pybot 自动遍历指定目录下的所有suite

2. 执行指定的suite

pybot  F:\python_space\robot_frame_work\test_interface\cs\login.txt

3. 执行suite中的单个用例

pybot --test 用例名  suite路径

例如:

4. 指定报告的输出地址

call pybot --outputdir 报告路径  用例路径

例如:

5. 执行包含指定tag的用例

pybot --include tag名  用例路径

例如:

6. 查看更多命令

pybot -h

参考

https://blog.csdn.net/daxialeesuper/article/details/79126017

https://blog.csdn.net/justheretobe/article/details/52937937

猜你喜欢

转载自blog.csdn.net/wtj_david/article/details/81481061