# Test Scenario Results

Here you will find the results of the individual Integration Test Scenario. &#x20;

Whenever you run an Integration Test, for each Integration Test Scenario, Unifi creates an Integration Test Scenario Result record to capture the results of the test run.  Each Integration Test Scenario Result record will correlate to the Integration Test Scenario that was run.

The contents of each individual Integration Test Scenario Result will differ relative to the Integration Test Scenario that was run.  An example can be seen below.

## Navigating

{% tabs %}
{% tab title="Native ServiceNow" %}
Navigate to **Unifi > Testing > Test Scenario Results** to open a list view, then click to open the desired result .

![](/files/-MfJR4_auFa4UGuOcb9P)

Alternatively, select the desired result from the Integration Test Scenario Results related list on the Integration Test Result record.

![](/files/-MeATq8n5f8OxquPhYaW)
{% endtab %}

{% tab title="Unifi Test Assistant" %}
Select the desired Integration Test Scenario Result from the list displayed on the Integration Test Result *(this will open the platform view of the record in a new window)*.

![](/files/-MeAU-kVqJ-Szk67hdk-)
{% endtab %}
{% endtabs %}

## Fields

The example extract of an Integration Test Scenario Result below is for a 'CreateIncident' scenario, but is representative of a Result record for any Test Scenario.

![](/files/-MeAU9TOEw1FvAI4R1I1)

{% hint style="info" %}
The assertions that have passed are green; the assertions that have warnings are orange (with the discrepancies called out); links to the documents created during the test run are called out and highlighted blue.
{% endhint %}

The following table describes the fields which are visible on the Integration Test Scenario Result record.

<table><thead><tr><th width="177.82126433018746">Name</th><th width="150">Type</th><th width="383.31851659036766">Description</th></tr></thead><tbody><tr><td>Test result</td><td>Reference</td><td>The Test Result this Scenario Result record relates to.</td></tr><tr><td>Integration test</td><td>Reference</td><td>The Integration Test this Scenario Result record relates to.</td></tr><tr><td>Scenario</td><td>Reference</td><td>The Test Scenario this Scenario Result record relates to.</td></tr><tr><td>Transaction</td><td>Reference</td><td>The Transaction created during the test run.</td></tr><tr><td>Order</td><td>Integer</td><td>The order in which each Test Scenario Result is processed (as per the order on the Test Scenario).</td></tr><tr><td>State</td><td>Choice</td><td>The State of the test.  Choices: Pending, Ready, Running, Complete.</td></tr><tr><td>Status</td><td>Choice</td><td>The Status of the test.  Choices: Passed, Failed, Error, Skipped.</td></tr><tr><td>Total</td><td>Integer</td><td>The total number of tests performed.</td></tr><tr><td>Passed</td><td>Integer</td><td>The total number of tests which passed.</td></tr><tr><td>Failed</td><td>Integer</td><td>The total number of tests which failed.</td></tr><tr><td>Pending</td><td>Integer</td><td>The total number of tests which are pending.</td></tr><tr><td>Warnings</td><td>Integer</td><td>The total number of tests with warnings.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sharelogic.com/unifi/3.1/testing/test-scenario-results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
