Test logs record
Summarize
Summary of Test Logs Record
The Test Results Item (test log) record captures detailed information regarding test execution and console logging. This data is stored in the Test Log (sysatftestresultitem) table, including browser console logs, test results, and error messages from the testing environment. Users can access specific test logs through the Test Log related list in the Test Results form.
Show less
Key Features
- Status: Indicates the outcome of the test step, which can be Success, Failure, Success with warnings, Ignored, Warning, Waiting, Running, Skipped, Error, or Cancelled.
- Type: Classifies the log as Step Result, Client Log, or Client Error.
- Output: Displays results from the test log, including console logging details and reasons for failures or skips.
- Step: Shows the name of the executed step, which may be blank for client logs.
- Recorded Time: Tracks when each step or log entry was made.
Key Outcomes
By leveraging the test log records, ServiceNow customers can effectively monitor test executions, troubleshoot issues through error reporting, and manage client errors by allowing specific errors to be ignored or flagged. This functionality enhances testing efficiency and reliability, ensuring smoother deployments and updates.
The Test Results Item (test log) record contains console logging and test execution information.
During test execution, any information reported to the environment is recorded in the Test Log (sys_atf_test_result_item) table. This information can include browser console logging, results, and error messages recorded by step environments. You access specific test logs from the Test Log related list in the Test Results form.
| Field | Description |
|---|---|
| Status | The result of the test log:
|
| Type | Type of test log:
Note: If a Client Error, you can optionally add it as an ignored or warning
entry in the Allowed Client Errors. Doing so prevents the allowed client errors
from affecting ATF test executions when they recur in future test runs. For more
details, refer to Allowed client errors. |
| Output | Output generated for the test log.
|
| Step | Name of the step executed. This field may be blank for a client log. |
| Test Result | Reference to the test result associated with this step result. Click |
| Description | For a step result, the actions performed in this test step. For a client log, blank. For a client, this message displays: This client error occurred on the page in Browser Type Browser Version (for example, Chrome 62.0.3202.62). |
| Start time | Time at which this test step started executing. |
| End time | Time at which this test step finished executing. |
| Duration | Time duration it took to execute this test step. |
| Recorded at | Time at which this step or log entry was recorded. |
| Allow listed client error | Reference to the Allowed Client Error record (if any). Click |