Step results record
Summarize
Summary of Step results record
The Step Results record in ServiceNow captures detailed information about individual steps within a test result. It provides granular insight into the execution status, outputs, timing, and related transactions for each step of automated or manual tests. Users can access specific step results via the Step Results related list found on the Test Results record.
Show less
Key Features
- Status: Indicates the outcome of the step, such as Success, Failure, Success with warnings, Skipped, Error, or Cancelled. This helps users quickly assess test progress and issues.
- Type: Distinguishes the kind of test result item, such as a step result or a summary.
- Summary: Provides a condensed explanation of the test step's output, including detailed error messages when client errors occur. It also guides users on how to handle warnings and ignored client errors.
- Output: Contains detailed output related to the step, including REST request and response details for inbound API calls, with sensitive headers filtered for security. Output truncation limits log size to 4096 characters.
- Step Name and Description: Identifies the executed step and describes the specific actions performed, aiding test traceability and debugging.
- Timing: Records the start and end times and calculates the duration of the step, enabling performance assessment.
- Step Transactions: Links to system transaction log entries related to the step, providing a deeper audit trail.
- Test Result Reference: Connects each step result to its parent test result for comprehensive test management.
Practical Use for ServiceNow Customers
This record enables customers to monitor and troubleshoot each test step effectively, ensuring business processes perform as expected. It is especially useful for analyzing client errors, managing warnings, and understanding REST API interactions during testing. By leveraging the detailed logs and summaries, users can identify failures quickly, decide whether to ignore certain warnings, and maintain test quality and reliability.
The Step Results record contains information about one step in a test result. You access specific step results from the Step Results related list in the Test Results record.
| Field | Description |
|---|---|
| Status | Result of the step:
|
| Type | Type of test result item: Step Result |
| Summary | Summarized version of the Output field. If an error occurred in the test step, the following text indicates that a client error occurred at this step, and includes a detailed exception/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. For a Send REST Request - Inbound step, the URL for the request endpoint, and a response code. For example: The HTTP request has been sent to the endpoint 'https://demonightlyus.service-now.com/api/now/table/kb_knowledge' |
| Output | Generated output for the test step.
For additional console logging and test execution information for a test step, see the Test Logs record. |
| Step | Name of the step executed. |
| Test Result | Reference to the test result associated with this step result. Click the
information icon ( |
| Description | Description of the specific actions performed (for example, Open Create Incident Report Producer, Validate that the form matches the following condition) for this test step. For a client log, blank. |
| Start Time | Date and time of day at which this step or log entry started. |
| End Time | Date and time of day at which this step or log entry ended. |
| Duration | Elapsed time it took to execute this test. |
| Step Transactions (related list) | Record for each transaction (from the system transaction log [syslog_transaction] related to this step result). |