# Uploading documents

> Upload documents to requirements, test cases, or test sets manually or from a Studio automation.

In Test Manager, you have the option to upload relevant documents as attachments to requirements, test cases, and test sets.

## Uploading an attachment to a requirement manually

Upload a file from a requirement page in Test Manager. Requirements list their files in the **Attachments** section.

### Steps

1. Open your project in Test Manager.
2. Go to **Requirements**.
3. Select a requirement in the list to open it.
4. In the **Attachments** section, select **Add attachment** and choose a file or drag & drop it directly in the page.

### Result

The file is added to the requirement and appears in the **Attachments** section.

## Uploading a document to a test case or test set manually

Upload a file from a test case or test set page in Test Manager. Test cases and test sets list their files in the **Documents** tab.

### Steps

1. Open your project in Test Manager.
2. Navigate to one of the following artifacts:
   * **Test Case**
   * **Test Set**
3. Select an artifact key in the list to open it.
4. Go to the **Documents** tab.
5. Select the **Add document** button and choose a file or drag & drop it directly in the page.

### Result

The file is added to your test.

## Uploading documents from an automation

Attach a file during an automated execution with a Studio activity.

### Steps

1. Add the [Attach Document](https://docs.uipath.com/activities/other/latest/workflow/attach-document) activity in your Studio automation.

### Result

Attachments added with the **Attach Document** activity appear inside the **Attachments** tab on the **Execution** page after execution.
