Merging and Converting XML Test Reports

You can use the Report Converter tool to merge harness generated XML test reports from different work directories into a single report. XML files not generated by the harness are not supported by using the XML Report type in the Test Manager report system.

Merge XML Reports

This is the start of a procedureTo merge XML reports generated by the harness, perform the following steps:

  1. Choose either Tools > Report Converter or Settings > New from the menu bar to launch the Report Converter wizard.

    The harness opens the Report Converter wizard.

    Merge Report wizard panel 1

    See Report Converter Wizard for a detailed description of the wizard.

  2. In the XML Input Files panel, specify the directory where the Report Converter Tool writes the merged XML report file.

  3. Specify the harness generated XML reports used as sources for generating the merged XML report file.

    You can chose a single source file in the wizard if you are using the Report Converter tool to convert a harness generated XML test report to an output type provided by your test suite.

    If you are merging multiple XML test reports, click the Add More button to open additional source file fields.

  4. Click the Next button.

    The harness displays the Report Options panel.

    Merge Report wizard panel 2
  5. In the Report Options panel, specify how conflicts between merged reports are handled.

The default setting is to always handle identical results in the two reports as a conflict.

The option of resolving conflicts using the most recent result is not selected. When the report is created, the tool displays a Resolve Conflict dialog box for each conflict that is detected. Choosing the option of having the tool automatically resolve the conflicts enables to tool to create the report without displaying the Resolve Conflict dialog box.

  1. Choose the report output format.

  2. Click the Create Report(s) button to create the report.

  3. Resolve any conflicts identified by the tool.

    If conflicts exist in the reports and the option to resolve conflicts by using the most recent result was not enabled, the tool displays a Resolve Conflict dialog box for each conflict that is detected.

    Resolve conflict dialog box

Copyright © 2006, 2011, Oracle and/or its affiliates. All rights reserved.