You can view the step-level results of each step after running a Web UI test. You can
edit and update the steps in test scripts by replacing smartshots.
You must have completed the following tasks:
Test
collects the UI data
during the test run and smartshots that are captured during the test run can be used to
update the failed step. If an object is not identified during the test run, then the
step fails. The test steps are indicated in different colors to specify the status of
each test step. For the failed step, you can replace the smartshot with the latest one
from the last test run. Also, you can update a step by replacing the smartshot and
selecting a target element.
-
Log in to Test.
The Projects page of the initial team space is
displayed.
-
Click to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click .
The Test Editor page and the test navigator panel are
displayed.
-
Click Tests to view the list of tests recorded for the selected
application.
-
Click the .yaml file to open the test.
The test steps are displayed on the Test Editor
page.
Note: If you have just run the test and the edit branch is
not published, then you can click the color-coded step result indicators
that are displayed for each step to view the result details.
-
Click any test step for which you want to view the result details.
The step details pane is displayed.
-
Click the Show Result toggle button in the upper-right
corner of the step details pane to view the outcome of the step.
The Result section displays the following details:
- Step run status, such as Completed step or
Failure, along with the
Duration is displayed. The failure reason is
displayed when the step fails.
- Start Time and End Time,
which you can view by clicking the Expand view
icon
.
- Overall step outcome, such as PASS or
FAIL.
Note: The Show Result option can be
enabled only if the test has already been run. You can disable this option
and navigate to the Test Editor page.
-
Click the Fullscreen icon
to view the details with smartshot and other configuration details in
full-screen mode for better visibility.
Note: The Fullscreen icon is
displayed only after you click the Expand view
icon.
-
Click the Exit fullscreen icon
to close the full-screen view.
Note: The Exit fullscreen icon is
displayed only when fullscreen mode is enabled.
-
Click the Previous Step icon
and the Next Step icon
to navigate between the previous and next test
steps.
-
Perform the following actions to update the step by replacing the smartshot for
the step:
You can update both passed and failed steps.
- Click the Replace Smartshot icon
that is displayed
if the edit branch is active.The Replace
Smartshot pop-up window is displayed with a list of
smartshots under two different sections: Result
Smartshots and Application
Smartshots. The Result
Smartshots displays the smartshots from the last
test run, and the Application Smartshots
displays all the available smartshots captured earlier for the
application. You can hover over an image and click the zoom icon
or
to view the enlarged image. The image is displayed with the
controls to rotate right, rotate left, zoom in, and zoom
out.
Note: If the test is run as part of
the test suite, then the
Replace Smartshot
icon

is disabled
even when the edit branch is active. You can click the

button that is displayed to open the test for
editing.
- Select a smartshot, and then click Replace if
you want to replace the smartshot for the step.
-
Click the Save icon
to save the
modifications.
You have viewed the step-level result and updated the
test.
You can perform the following tasks: