Skip to main content

Exporting a Test Data Collection

Export a Test Case’s data collection as CSV or JSON, understand iteration values, and choose whether sensitive variables are included or masked.

Download a Test Case’s Test Data Collection as CSV or JSON to review, share, or reuse its variable values.

Before you begin

  • Open the Jira space and Test Case you want to export.

  • Check the Test Case version so you export the intended data.

  • The collection must contain variables and saved iteration values.

Choose a file format

Format

Best for

What the file contains

CSV

Opening and editing values in a spreadsheet.

Variable names are column headings. Each row contains values from a collection iteration.

JSON

Keeping the collection’s structured data for reuse.

Collection and version information, variable names, sensitivity flags, ordering, and iteration values.

Export the Test Data Collection

  1. Open the Test Case in Vansah.

  2. Select the Test Data Collection button in the Test Case toolbar.

  3. Open ⋯ (More Options) in the collection’s upper-right corner and select Export.

  4. Choose CSV or JSON from File Type.

  5. Select Export.

  6. If the collection contains sensitive variables, choose whether to include their actual values, as explained below.

  7. Wait for the file to download, then open it to check the contents.

The walkthrough below shows a JSON export with sensitive values masked.

Exporting a Test Case Test Data Collection as JSON and masking sensitive values

Choose how sensitive values are exported

When the collection contains variables marked as sensitive, Vansah asks whether the exported file should show their actual values.

Choice

Result

Yes

Includes the actual values of sensitive variables in the downloaded file.

No

Replaces sensitive variable values with ******. Variable names and other collection information remain in the file.

Choose No when sharing a file that should not contain sensitive values. Masking applies to variables marked as sensitive, so review the exported file before sharing it.

A masked export contains placeholder characters instead of the original sensitive values. Those values must be supplied again if you later use the file to import or restore data.

What is included?

  • The export includes the collection’s variables and iteration values for the selected version.

  • It includes the collection’s iterations, rather than only the iteration currently visible in the dialog.

  • The export uses the whole collection; checking individual variable rows does not limit it to those rows.

  • Exporting does not change the values saved in Vansah.

Troubleshooting

Problem

What to check

No data is available to export

Confirm that the intended Test Case version has a collection with variables and saved iteration values.

The file contains more rows than expected

CSV includes values from the collection’s iterations. Each iteration becomes a row.

Values appear as asterisks

You selected No for sensitive values. Export again and select Yes only if you need the actual values in the file.

The file does not download

Check the error message and your browser’s downloads. Refresh the collection and try again.

Did this answer your question?