Data Export For Automation

Data export for automation reports in ReadyAPI allow you to export test data to an XML or CSV file. This report template is available right after you install ReadyAPI, so you can use it without any preparations.

To create a data export report:

  1. Run your test suite.

  2. When the test run finishes, click Report .

  3. The Create Report dialog will appear.

  4. Select the Data export for automation type.

    ReadyAPI: Configuring the data export report
  5. Select the data sets you need in the Data sets list. This list contains the available exportable data, which may vary depending on the reporting scopes and results.

  6. Select a format in the Format drop-down list. For now, select XML.

  7. Specify the output folder manually in the Folder field or click Browse and select the target folder.

  8. Click OK.

ReadyAPI will create the necessary files and open the output directory in your file manager.

The testSuiteResults.xml file contains the test suite, test case and test step results in a tree structure:

The XML export report contents

Now, export the files in the CSV format with header rows:

  • Select CSV in the Format drop-down list.

  • Select Generate Header Rows.

  • Click OK.

Note

The failedTestSteps and testStepResults columns actually contain reference file names instead of nested values.

See Also

Publication date: