# Importing/Exporting Test Cases

## Importing Test Cases with CSV

<details>

<summary>Step 1: Click the Import Button</summary>

On the Test Cases home page, click the import button on the top right of the screen and choose "Import from CSV" from the choices. This will take you to the "Import from CSV" page

</details>

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

<details>

<summary>Step 2: Choose file and name</summary>

Drag or drop a file to import, choose where your importing it to, the template and the name for the Test Case.

</details>

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

<details>

<summary>Step 3: Click "Go to Column Mapping"</summary>

This will bring you to the Column mapping page

</details>

<details>

<summary>Step 4: Match CSV and TestFiesta Fields and click "Go to Preview"</summary>

Make sure the CSV fields match with the TestFiesta fields they will be importing into so that all fields import into TestFiesta appropriately.

Once you are done, click "Go to preview" to see what the import will look like and will allow you to come back to Column mapping if you notice a mistake.

</details>

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

<details>

<summary>Step 5: Confirm details and click "Import all"</summary>

This will finish the import and your Test Case should appear in the available list.

</details>

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

## Exporting Test Cases to Excel

<details>

<summary>Step 1: Click the Export Button.</summary>

On the Test Cases home page, click the export button on the top right of the screen and choose "Export to " from the choices. This will take you to the "Export to Excel" page

</details>

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

<details>

<summary>Step 2: Choose the format, Test Folders and Fields to export</summary>

You may choose between .csv or .xlsx formats to export. You may also choose to export all Test Folders or you can choose to export specific Test Folders. Finally you can choose all the fields you want to export to Excel.

</details>

<figure><img src="/files/58nq4xNK3VdjHsWwr4le" alt=""><figcaption></figcaption></figure>

<details>

<summary>Step 3: Click "Export"</summary>

Once you are done deciding what Test Folders and fields you want to export, click the "Export" button to complete the export.

</details>

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

And that's it! You should be able to navigate and use the Test Cases now. The next page will begin with an explanation of the Defects Tab.


---

# 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.testfiesta.com/projects-tab/test-cases-tab/importing-exporting-test-cases.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.
