【问题标题】:convert html report generated by protractor-html-screenshot-reporter into excel将protractor-html-screenshot-reporter生成的html报告转换成excel
【发布时间】:2018-04-27 19:14:55
【问题描述】:

我正在使用 protractor-html-screenshot-reporter 生成 HTML 报告,我希望将其转换/导出为 Excel 工作表。我怎么做 ? 有人可以帮我解决这个问题吗?

【问题讨论】:

  • 找到并尝试npm包,它可以编写excel将html报告输出到excel文件中。

标签: protractor


【解决方案1】:

来自他们的文档:

通过 grunt 运行任务时,将生成屏幕截图报告器 每个测试的 json 和 png 文件。

现在,您还将获得一份摘要报告,以及堆栈跟踪信息。

通过这个后处理,您将获得一个包含所有 元数据,以及显示结果的 html 页面。

https://www.npmjs.com/package/protractor-html-screenshot-reporter#html-reporter

现在这些 Json 可以很容易地转换成 Excel https://json-csv.com/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-12
    相关资源
    最近更新 更多