All Collections
Test Automation
Basics
Sharing and Exporting Test Results
Sharing and Exporting Test Results
Gwenn Berry avatar
Written by Gwenn Berry
Updated over a week ago

When looking to share and export your test results, you have several options to view, share, and export them either for interactive use or for programmatic consumption by downstream tools. The methods of viewing and consuming test results, centered around the Test Chain Run Report, are described below.


View and Share Interactive Test Reports

Navigating to Test Reports

To view recent test reports, either click on the relevant link on your homepage "Recent Runs" section, or navigate to the relevant Test Chain and select your test run of interest from the Execution History.

Or, when you run automated tests via a test trigger, the results will automatically be delivered to your email inbox and/or CI system.

Sharing Test Reports

From the Test Chain Run view, use the Copy Contexted Link button in the top right Quick Actions menu to share the live version of your summary report using link-based sharing. Your collaborators will be able to view the report and dig in to the details if more context or troubleshooting is needed based on the test results.


Export Reports

Export as PDF Report

To export your test report as PDF, simply use your browser's print dialog from the Test Chain Run view. The web report will be reformatted as a shareable and printable report document.

Export Results Summary as JSON or CSV (Browser or API)

From Browser

To export the results summary as JSON or CSV, use the Export results as... options from the top right Quick Actions menu.

Via API

To export via API, use the REST API to retrieve the test chain run summary. E.g.

/api/test_chain_run/{TCR_ID}/summary

Provide the optional parameter "mode" to export in JSON ("json") vs. CSV ("csv"). format. The default is JSON.

/api/test_chain_run/{TCR_ID}/summary?mode=json

Export Format

The exported results can then be ingested by your internal or third-party tools. If you have associated an external ID with the test assertions, they will be outputted in the JSON or CSV.

Example JSON output

Example CSV output


Embed Test Reports

To embed either live or snapshotted versions of your test report in your own internal systems (e.g. Confluence/Wiki), contact support.

Did this answer your question?