UiPath Documentation
test-manager
latest
false
Test Manager user guide

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 > 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 > 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.
    • <Browser> 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

  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

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

Note:

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

  • Steps​
  • Result​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated