如何自定义机器人框架测试报告

如何自定义机器人框架测试报告

问题描述:

我想定制机器人框架测试报告,以满足我的需要.在哪里可以找到处理此功能的相关 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.