> For the complete documentation index, see [llms.txt](https://docs.simplifyqa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplifyqa.ai/test-data-management/import-and-export-test-data-sets.md). Agents can also search and read this documentation through its [MCP server](https://docs.simplifyqa.ai/~gitbook/mcp).

# Import and Export Test Data Sets

SimplifyQA enables users to import and export test data sets, allowing for efficient data-driven testing. This ensures test cases can be executed with different input data sets without manually modifying test scripts.

### Importing Test Data Sets

1. **Navigate to Test Data Management**

* Open the User Navigation Panel.
* Go to Test Management > Test Data.
* Click on the “View Details” button of the relevant test data.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FpW1r8yYXH6lkvaDZZX0j%2Fss%20import%20export%201111.png?alt=media&amp;token=86e8b8ef-f4df-4b56-8088-44d39c700716" alt=""><figcaption></figcaption></figure>

2. **Importing Test Data**

* On the top right, you will find the Excel Import/Export button.
* Click on “Import Excel” from the dropdown menu.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FxYCCnbq4UwcIjEzG3lSP%2F1.jpg?alt=media&amp;token=b7aa106b-1a62-4b40-8fe9-b2d3d8639f21" alt=""><figcaption></figcaption></figure>

* A pop-up window will appear with an option to upload an Excel file.
* You will be prompted to drag and drop a file or browse through your computer to select the file.
* You can also download a sample file which will provide you with a template in which you can fill with the test data and can be uploaded.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2Fpcdc7Ait6KA5n6poBJ75%2F2.jpg?alt=media&amp;token=4118e042-7915-4f2e-aff0-6e35d33b9d32" alt=""><figcaption></figcaption></figure>

3. **Prepare the Excel file**

Before uploading, ensure that the test data file follows these guidelines:

* Column Names should match the parameter names used in the test case.
* Sequence Number must be provided for each iteration to maintain execution order.
* Data Format should be consistent (e.g., date fields, numeric values).

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FdTMaw0VgYaZ0W0mO99GH%2F3.jpg?alt=media&amp;token=7afae39f-e9dc-459f-a8b5-c53daa23ccac" alt=""><figcaption></figcaption></figure>

4. **Upload the File**

* Once the file is selected, click upload.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FnpZG5eleLP4G7cqNmStm%2F4.jpg?alt=media&amp;token=81e62362-a33f-49c8-b344-90f832008f96" alt=""><figcaption></figcaption></figure>

* The tool will validate the data and display a confirmation message upon successful import.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F0CMWRLTC4q8Tp1ZjRXWe%2F5.jpg?alt=media&amp;token=4f3075b4-2ec3-494e-927a-aa13de540174" alt=""><figcaption></figcaption></figure>

* And click Save, to save the data.

{% hint style="info" %}
**Note: To import data to a function, select function data from function module or test data management. Function data cannot be imported from within test case data.**
{% endhint %}

### Exporting Test Data Sets

1. **Navigate to Test Data Management**

* Open the User Navigation Panel.
* Go to Test Management > Test Data.
* Click on the “View Details” button of the relevant test data.

2. **Export the Data**

* On the top right, click the Excel Import/Export button.
* Select “Export Excel” from the dropdown menu.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F1EbIkKLFom6gQ6XWm46g%2F6.jpg?alt=media&amp;token=8aafb7dd-f9e9-4512-b441-990c3e77a96a" alt=""><figcaption></figcaption></figure>

* **By default, all data iterations will be exported and downloaded as an Excel file (.xlsx).**
* Open the file to view or modify test data as needed.

{% hint style="info" %}
**Note:** When exporting test data that includes functions, the Excel file will contain separate sheets for better organization. Parameters at the test case level will appear in the **“TC”** sheet, while each function will have its own dedicated **“FN”** sheet, making it easy to manage and review complex data sets.
{% endhint %}

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FgD1ZdgkiYJKdfhqr3fI5%2Fss121212.png?alt=media&amp;token=51c2b7ca-2eeb-45ca-8021-d1be7bcb7444" alt=""><figcaption></figcaption></figure>

### Best Practices for Managing Test Data

* Use consistent naming conventions for parameters.
* Keep test data files updated to reflect real-world scenarios.
* Ensure data integrity by avoiding missing or incorrect values.
* Regularly export test data for backup and reuse.

By efficiently importing and exporting test data, teams can streamline their test execution and improve data-driven testing workflows in SimplifyQA.
