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:
-
Run your test suite.
-
When the test run finishes, click .
-
The Create Report dialog will appear.
-
Select the Data export for automation type.
-
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.
-
Select a format in the Format drop-down list. For now, select XML.
-
Specify the output folder manually in the Folder field, or click Browse and select the target folder.
-
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:
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
JUnit-Style HTML Reports
Allure Report
Preconfigured Report Styles