Test results record
Summarize
Summary of Test Results Record
A Test Results record provides comprehensive details regarding the execution of a test, including its status and any errors encountered. This is essential for troubleshooting and ensuring quality in testing processes.
Show less
Key Features
- Test Status: Indicates the outcome of the test execution (e.g., Success, Failure, Waiting, Running, Skipped, Error, Cancelled).
- Client Error Details: Available when a test fails due to client errors, providing insights such as the failing step and a summary of the error.
- Failure Details: Shown when failures occur for reasons other than client errors, detailing the failing step and additional context.
- Additional Information: Includes output generated during the test, browser details, and related lists for step results, logs, and transactions.
Key Outcomes
By utilizing the Test Results record, ServiceNow customers can effectively:
- Identify and analyze test failures through detailed error messages and related logs.
- Retain test records beyond the specified retention period for ongoing analysis.
- Download screenshots and detailed step results to aid in troubleshooting.
- Manage client errors through warnings for better test execution without interrupting the workflow.
This structured approach to test results ensures that customers can maintain high-quality testing standards and swiftly address issues as they arise.
A Test Results record contains detailed results information about one test execution. Client Error Details and Failure Details sections appear when a test fails due to error conditions, and include detailed error information you can use for troubleshooting purposes.
| Field | Description |
|---|---|
| Test | Name of the test. |
| Status | Result of the Test execution:
|
| Retain indefinitely | Check box to keep this record even after the specified data retention period has passed. For more information, see Table Cleanup. |
| Start time | Date and time of day at which this test started executing. |
| End time | Date and time of day at which this test finished executing. |
| Duration | Elapsed time it took to execute this test. |
| Previous test result | Results of the previous test execution, indicating if the test passed or
failed. Only appears if this test result is for a re-run of a failed test and you
are logged on with the admin, atf_test_admin, or atf_test_designer role. Click the
information icon ( |
Client Error Details
This section only displays when a test fails due to a client error.
| Field | Description |
|---|---|
| Failing step | Reference to the first test step result that failed during this test. Click the
information icon ( |
| Summary | The following text indicates that a client error occurred at this step, and
includes the detailed error message: This step failed because the client error 'DETAILED ERROR MESSAGE' was detected on the page being tested. See failing Test Logs. To ignore these errors in the next test run, use ‘Add all client errors to warning/ignored list’ links. Test designers and developers should always investigate client errors to determine if there are issues with your business process. For more details, see Identify and resolve client errors. |
| First failing client error | Reference to the first client error that failed during the test. Click the
information icon ( Note: For details on how to allow client errors as ignored or warning
entries, refer to Allowed client errors |
| Failing step screenshot | Screenshot of the step that failed. Click |
Failure Details
This section only displays when a test fails due to a cause other than a client error.
| Field | Description |
|---|---|
| Failing step | Reference to the first step result that failed during this test. Click |
| Summary | Output of the step that failed. |
| Failing screenshot | Screenshot of the step that failed. |
Additional information
This section is visible for all test results.
| Field | Description |
|---|---|
| Output | Output generated for the test step.
|
| Browsers involved | User agent strings returned by browsers that ran the test. |
| Related list | Description |
|---|---|
| Step Results | Record for each step result and log entry for this test. |
| Test Log | Record for each test log related to this test results record. |
| Test Transactions | Record for each transaction (from the system transaction log [syslog_transaction] related to this record). To view the step results associated with a transaction, click the appropriate link in the Step Results column. To view the transaction logs associated with a transaction, click the appropriate link in the Transaction column. Note: The system may not be able to log some transactions
with short durations. |
| Warnings | List of test logs containing client errors with a warning status. The Warnings related list only appears on test results with warnings. |