# Taking screenshots when manually executing tests

> Capture screenshots of an application during manual test execution and view them as attachments on the test case log.

Record what an application shows at a specific test step by sharing your screen, a window, or a browser tab from the manual execution assistant. Screenshots then appear in the test case log.

## Steps

1. Navigate to the **Test Sets** section of your project and open a manual test set.
2. Select **Execute** &gt; **Manually**. The manual execution assistant opens, displaying the first manual test case ready for execution.
3. Start executing your tests manually.
4. When you reach a test step where you want to take a screenshot of the application, go to **More options** &gt; **Capture screen**. The **Choose what to share with https://cloud.uipath.com/portal_** window appears, offering the following capture options, which apply to most browsers:
   * **Entire Screen**: This option takes a screenshot of a desired active screen.
   * **Window**: This option takes a screenshot of a desired application window.
   * **&lt;Browser&gt; Tab**: This option takes a screenshot of a certain browser tab, such as Chrome, for example. The name varies based on the browser in use.
     :::note
     While capturing a screenshot of a window or browser tab, that tab or window gains focus. To resume the manual test execution, you have to manually return to the manual execution assistant. This step is due to a security limitation of the browser.
     :::

   Figure 1. Capturing a screenshot in the Choose what to share window

   ![Capturing a screenshot in the Choose what to share window](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-capturing-a-screenshot-in-the-choose-what-to-share-window-532628-cfff6bbe-c218e8c4.webp)
5. After you select the element that you want to capture, select **Share**. Your captured screenshot now appears as a preview within the test step.
   :::note
   If a screenshot of any window or tab other than Test Manager is captured, that window or tab becomes the main focus. To proceed with the manual execution after taking the screenshot, you need to manually navigate back to the manual execution assistant.
   :::
6. Optionally, select **View** within the test step to check the preview.

   Figure 2. The preview of the screenshot inside the manual execution assistant

   ![The preview of the screenshot inside the manual execution assistant](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-the-preview-of-the-screenshot-inside-the-manual-execution-assistant-532624-3d03cc8e-f614e4ac.webp)

## Result

After completing the manual test execution, open the log of the test case where screenshots were captured. The screenshots appear under the **Attachments** column.

Figure 3. The test case log displaying the screenshot as an attachment

   ![The test case log displaying the screenshot as an attachment](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-the-test-case-log-displaying-the-screenshot-as-an-attachment-532619-98787e40-1165b5dc.webp)

:::note
You can also add any image copied in your clipboard by pasting it in the manual test step, during execution.
:::
