aggregate the reports from different robot testsuites

后端 未结 2 947
故里飘歌
故里飘歌 2021-01-03 08:09

I have different test suites in different directories. I use a script to run all these tests in one shot. Now I want to view the report of all these test suites in some aggr

相关标签:
2条回答
  • 2021-01-03 08:44

    Thanks. I solved it. For further elaboration

    By default, output xml is named as output.xml . To change it to some other name as you mentioned

    pybot  --output output1.xml <test_suite> 
    

    then we can use rebot as

    rebot --outputdir <directory-you-want-to-have-output-reports> --output <aggregated_xml_name: eg: final_output.xml> output1.xml output2.xml .....
    
    0 讨论(0)
  • 2021-01-03 08:45

    Robot comes with a tool called "rebot" for combining test results into a single report.

    For example, to combine "output1.xml" and "output2.xml" into a single log and report file, you would do something like this:

    rebot output1.xml output2.xml
    

    For more information see Using rebot tool in the robot user guide

    0 讨论(0)
提交回复
热议问题