Whenever you run an Integration Test, the results are captured in an Integration Test Result record.
When you run an Integration Test, Unifi creates an Integration Test Result record to capture the results of the test run. Each Integration Test Result record will correlate to the Integration Test that was run. The Test Result contains the individual 'Integration Test Scenario Results'. Each of which are tallied and rolled up to the parent record and grouped according to various categories.
Whilst Test Results can be viewed from native ServiceNow, it is envisaged that tests will be run and the results subsequently viewed from Unifi Test Assistant.
Unifi Test Assistant
Navigate to Unifi > Testing > Test Results to open a list view, then click to open the desired result .
When you navigate to and open Unifi > Unifi Test Assistant, you have a number of ways you are able to view the results.
Unifi Test Assistant opens to the Dashboard. From there you can simply click on the desired result from the Recent Test Results tile.
You can also select Test Results & then navigate to the desired Integration Test (which will open displaying the latest result). If you know which Test Result you want to see, you can even type it directly in the Search box.
Or from the relevant Process, you can also navigate to the desired Integration and Integration Test (which will open displaying the latest result).
Depending on where you are viewing the results, the presentation will differ (though the content is obviously the same).
The following table describes the fields which are visible on the Integration Test Result record (native ServiceNow).
These tests have been skipped. Either a test has failed (e.g. an unsupported Test Scenario was run - like adding attachments, or an earlier dependant test failed) and has had to be skipped, or there was an error (perhaps during development of the test) and they had to be skipped.
Unifi will log a warning for test results where a discrepancy has been detected. These warnings should be investigated. However, in the majority of cases they should require no further action. For instance, where date/time values exist in the payload, there will always be a discrepancy between the time in the original payload and the time in that of the Test Scenario Result.
Date/time values for the records themselves are ignored because Unifi knows the structure of those records and expects there to be differences for certain defined elements. However, because Unifi has no way of knowing the structure of the payloads (each integration is able to be defined/structured as required), Unifi cannot choose to ignore those elements.
The 'Integration Test Scenario Results' related list is visible on the Integration Test Result record.