如何自定义机器人框架测试报告 [英] how to customize robot framework test reports

查看:54
本文介绍了如何自定义机器人框架测试报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想定制机器人框架测试报告,以满足我的需要.在哪里可以找到处理此功能的相关 python 源代码?

I want to customize robot framework test report, in order to fit my need. Where can I find the related python source that handle this feature?

或者我需要创建一个 3rd 方库来处理这个问题?

Or I need to create a 3rd party library to handle this?

推荐答案

一种解决方案是从头开始创建您自己的报告.XML 输出非常容易解析.您可以使用命令行选项关闭报告的生成(例如:--log NONE 和 --report NONE).然后,创建一个脚本来生成您想要的任何类型的报告.

One solution is to create your own report from scratch. The XML output is very easy to parse. You can turn off the generation of reports with command line options (eg: --log NONE and --report NONE). Then, create a script that generates any type of report that you want.

这篇关于如何自定义机器人框架测试报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆