# Exporting/Importing Tests

When you have finalised your tests, you may want to take a local backup of the test, or you may want to send the test that you're working on to another person. For such cases, we allow you to export the whole test as a JSON file, that is easy to understand.

### Exporting

To export any test, go to the Tests interface by clicking on Tests in the left navigation drawer. Now move your cursor to the 3 dot icon at the bottom right of the test you want to export.&#x20;

<figure><img src="/files/PpMFiLe87BTgYTZ3PBqy" alt=""><figcaption></figcaption></figure>

This will open an overflow menu where you will get the option to export your test. Click on Export and the JSON file will be downloaded to your system.

### Importing

If you have a JSON definition of a test and you want to import it back to the platform, just go back to the Tests interface and click on the Import button on the top right of the screen.&#x20;

This will open another overflow menu, here click on `Import IoTIFY Test`. This will open a file picker, navigate to the folder where you have stored the JSON file and open it.&#x20;

<figure><img src="/files/GivyYrQCQ8qCasOjMUoh" alt=""><figcaption></figcaption></figure>

The file will be uploaded and parsed and the test will be added to your workspace.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.iotify.io/concepts/understanding-a-test/exporting-importing-tests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
