> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/getting-started/managing-your-profile-and-assets/artifacts.md).

# Artifacts

The **Artifacts** feature enables teams to centrally store and manage files required during test execution. Instead of using local file paths, which are accessible only on the creator's machine, files can be uploaded as artifacts and referenced within test cases using an **Artifact ID**. This ensures that all team members can successfully execute the same test case without modifying file paths.

**Why Use Artifacts?**

* Eliminates dependency on local file paths.
* Makes files accessible to all project members.
* Ensures consistent test execution across different systems.
* Simplifies collaboration by maintaining a centralized repository of files.

**Uploading an Artifact**

* Log in to WalnutAI.
* Click your **Profile (Name)** icon in the top-right corner of the application.
* Select **Artifacts** from the dropdown menu.

<figure><img src="/files/2rGn2hDbnlm7prRs77Jc" alt=""><figcaption></figcaption></figure>

* Click **Upload**, then browse and select the required file from your local system.

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

* Once uploaded, the file appears in the Artifacts list.

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

* Each uploaded file is assigned a unique **Artifact ID**, which is used to reference the file within test cases.

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

**Using an Artifact in a Test Case**

* Open the required test case.
* Type **/** and select the **Upload** action. The **Upload** action is added to the test step.

<figure><img src="/files/5JK4BoODvf0KgGbWyTzI" alt=""><figcaption></figcaption></figure>

* Once the **Upload** action is added, a **file\_path** field is created in the **Test Data** section. Enter the required **Artifact ID** in the **file\_path** field.

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

* During execution, WalnutAI retrieves the corresponding file from the Artifacts repository and uploads it automatically.

**Uploading an Artifact from Within a Test Case**

* If the required file has not yet been uploaded, you can upload it directly from the test case.
* After adding the **Upload** action, a **file\_path** field is created in the **Test Data** section.&#x20;
* Click the **file\_path** field and select **Upload File Artifact**.

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

* Browse and select the required file from your local system.
* Once the upload is complete, the **Artifact ID** is automatically generated and populated in the **file\_path** field.

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

* The uploaded file is added to the **Artifacts** repository and can be reused by all project members in any test case.
