# Documenting with Task Capture

> Document a test case by launching Task Capture from Test Manager and attaching the recorded DOCX and diagram files to your manual steps.

Open the Manual Steps tab of a test case and select Document with Task Capture to record a process. Publishing from Task Capture attaches a DOCX file and a diagram image, and adds the captured steps as manual steps.

## Context

The Word document (DOCX) file template is predefined in Task Capture and cannot be customized.

## Prerequisites

* Task Capture is installed. If you already have Task Capture installed, skip the rest of this item. Otherwise, select **Download** and select the Task Capture version that you want to download. For more information, see [Task Capture Installation](https://docs.uipath.com/task-capture/standalone/2022.4/user-guide/installing-task-capture). If requested, grant permission to your browser to open an external application.
* Task Capture is launched from Test Manager before you use the **Export to Test Manager** option. Otherwise, this option is not available.

## Steps

1. Open your project in Test Manager.
2. Open a test case in Test Manager. For details, see [Create Test Cases](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/creating-test-cases) if you do not have a test case yet.
3. Open the **Manual Steps** tab.
4. Select **Document with Task Capture**.
5. In the pop-up that Task Capture displays, select **Open Task Capture**.
6. In Task Capture, [build a diagram or capture a process](https://docs.uipath.com/task-capture/standalone/2022.4/user-guide/capturing-the-process).
7. [Publish the workflow to Test Manager](https://docs.uipath.com/task-capture/standalone/2022.4/user-guide/export-test-manager#3-publish-the-workflow-in-test-manager) after you complete documenting your test case in Task Capture:
   1. In Task Capture, go to **File**.
   2. Under **Export**, select **Publish to UiPath Test Manager**.

      ![Publish to UiPath Test Manager option](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-publish-to-uipath-test-manager-option-135639-4db596b9-3094b685.webp)

## Result

The recorded DOCX file and the diagram image (JPG) are attached to your test case in the **Manual Steps** tab, and the captured steps are added as manual steps to the test case.
