Managing automatic test screenshot settings
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Automated Test Framework
Capturing many screenshots can impair test performance. You can control which types of screenshots the system captures to minimize this effect.
By default, the system captures a screenshot every time it executes a form test step. This information can be useful for understanding test results, but may slow down how fast the system executes the test.
You can change automatic test framework settings so that the system captures all screenshots (as it does by default), no screenshots, or just screenshots for failed test steps.
You can change these settings to affect all tests run on this instance, or to affect just the current client test runner session. To affect all tests run on this instance, set the automatic test framework property from the automatic test framework properties page. To affect just the current client test runner session, set the screenshot mode from client test runner browser window.
Set the system property to control when the Automated Test Framework captures screenshots
To control how often this instance captures screenshots for form test steps, set the screenshot capture mode on the automatic test framework properties page.
Before you begin
About this task
Procedure
Set the client test-runner property to control when the Automated Test Framework captures screenshots
To control how often the current client test runner captures screenshots for form test-steps, set the screenshot capture mode on the client test runner browser window.
Before you begin
About this task
Procedure
-
From the client test-runner browser window, click the form
preferences icon (
).
-
Click the Screenshot
mode option.
- To capture screenshots for all steps, select Enable for all steps.
- To capture screenshots only for failed steps, select Enable for all failed steps.
- To capture no screenshots, select Disable for all steps.
- Click Save.