How to update Scenario Screenshots from Test Results

Prev Next

This page explains how to update screenshots of steps within a scenario using images from test execution results.

Prerequisites

To use this feature, the following conditions must be met:

  • The test result status must be Passed.

  • The scenario corresponding to the test result must exist.

Feature Overview

This feature offers two update modes:

1. Fill in missing screenshots This mode applies images from the test result only to steps that do not currently have screenshots in the scenario. Existing screenshots are not changed. This is useful when you want to bulk-set images for a newly created scenario.

2. Update all screenshots This mode replaces all screenshots in the scenario with images from the test result. This is useful when you want to update everything to the latest state, such as after UI changes.

How to Use

1. Adding only missing screenshots

  1. Open the details page of the test result you want to use for the update.

  2. Click the Update scenario button at the top right of the screen.

  3. Select [Fill in missing screenshots] from the menu.

  4. A confirmation dialog will appear.

    • If there are screenshots to add, the number of target steps will be displayed. Click the Fill in screenshots button to execute.

  5. The process is complete when the message “Screenshots updated successfully.” appears.

2. Updating all screenshots

  1. Open the details page of the test result you want to use for the update.

  2. Click the Update scenario button at the top right of the screen.

  3. Select [Update all screenshots] from the menu.

  4. A confirmation dialog will appear.

    • The number of steps where the current scenario image differs from the test result will be displayed. Click the Update all button to execute.

  5. The process is complete when the message “Screenshots updated successfully.” appears.

Excluded Steps

The following steps do not display screenshots and are therefore excluded from this update feature:

  • Window action steps (Open window, Close window, Switch window, etc.)

  • Group steps, Shared group steps

Notes

  • Impact on Shared groups: if you use a Shared group step in your scenario, updating steps within it will update the screenshots for the Shared group itself. Please be aware that these changes will be reflected in all other scenarios that use the same Shared group.

  • Behavior when using Data tables: for scenarios using Data tables, the test result for the currently displayed data row is used. If you want to use an image from a different pattern, please switch the data row before performing the update operation.

  • Restoring: If you wish to revert the scenario screenshot after updating it, please refer to the “Restoring a scenario from history” section and attempt the restoration process.