# Scenario

### ![](/files/UG5KJqSDNtceaemnXgFo)

[![OMrun Scenario – Simplify Complex Data Management](https://img.youtube.com/vi/fWdEg0TUIHk/maxresdefault.jpg)](https://www.youtube.com/watch?v=fWdEg0TUIHk)

### Abstract

The "Test Scenario" executes all listed and activated "Test Objects" with their "Parameter Lists" in an ascending Id order. With double click on any Id (in green), a respective window opens automatically, to display its related test object.

<figure><img src="/files/rktbxGLlfOpHAgNAxEvR" alt="OMrun scenario screen" width="80%"><figcaption><p>OMrun scenario screen</p></figcaption></figure>

***

### New

On Navigation Tree at Scenario Group Level click on the right mouse button and select <img src="/files/UG5KJqSDNtceaemnXgFo" alt="OMrun Scenario Icon" data-size="line"> `New`.

<figure><img src="/files/VWaGEYOmNNthMyYrUD3A" alt="OMrun scenario tree dropdown menue - parent level" width="50%"><figcaption><p>OMrun scenario tree dropdown menue - parent level</p></figcaption></figure>

Create a new Scenario List Entry by entering a new sequence number in column "Id", select a Test Object Type, Test Object (in blue) and Parameter List from drop down list, add a meaningful remark and select checkbox "Active". Row will not execute if checkbox "Active" is not set.

<figure><img src="/files/CZC1C2TWhea4ivUvg8fO" alt="OMrun scenario list entries" width="80%"><figcaption><p>OMrun scenario list entries</p></figcaption></figure>

***

### Copy, Rename, Delete

On Navigation Tree at Scenario level click on the right mouse button and select <img src="/files/UG5KJqSDNtceaemnXgFo" alt="OMrun Scenario Icon" data-size="line"> `Copy`, <img src="/files/UG5KJqSDNtceaemnXgFo" alt="OMrun Scenario Icon" data-size="line"> `Rename` or <img src="/files/UG5KJqSDNtceaemnXgFo" alt="OMrun Scenario Icon" data-size="line"> `Delete`.

<figure><img src="/files/6svXj2f4HwAUZ2HJrVJy" alt="OMrun scenario tree dropdown menue - scenario level" width="50%"><figcaption><p>OMrun scenario tree dropdown menue - scenario level</p></figcaption></figure>

***

### Generate Batch

On Navigation Tree at Scenario level click on the right mouse button and select <img src="/files/UG5KJqSDNtceaemnXgFo" alt="OMrun Scenario Icon" data-size="line"> `Generate Batch`. It will store an executable batch file in the currect business system into the folder BatchJobs with all needed start parameters.\
See also on [Start via Batch File](/omrun-help/start-omrun/start-via-batch-file.md).

<figure><img src="/files/Xo28gUnZRsjOyWTifIgU" alt="OMrun scenario tree dropdown menue - scenario level" width="50%"><figcaption><p>OMrun scenario tree dropdown menue - scenario level</p></figcaption></figure>

***

### Execution by Batch

A Test Scenario can be executed in batch mode by calling OMrun in a batch file.\
See also on [Start via Batch File](/omrun-help/start-omrun/start-via-batch-file.md).\
If a Scenario was executed the Window is split and shows the results below.\
See also on [OMrun Test Results](/omrun-help/result-analysis/omrun-test-results.md).

<figure><img src="/files/zUAOVAnxkp0erBYiqOfa" alt="OMrun scenario screen with results" width="80%"><figcaption><p>OMrun scenario screen with results</p></figcaption></figure>

***

### Navigate to Test Object

A double-click into any of the scenario lists "Id" (in green) opens automatically a new "Tab" with the corresponding "Test Object".

<figure><img src="/files/bklBKyPMv8H44brttGKR" alt="OMrun scenario id linked to test object" width="80%"><figcaption><p>OMrun scenario id linked to test object</p></figcaption></figure>

***

### Navigate to Parameter List Result

A double-click into any of the scenario result lists "Passed %" (yellow rectangle) opens automatically a new "Tab" with the corresponding Parameter List "Extensive" with its results.

A double-click into any of the scenario result lists "Id" (green rectangle) opens automatically a new "Tab" with the corresponding Test Object with its results.

<figure><img src="/files/7dtE0jdwEdKWKuDYXiUi" alt="OMrun scenario id linked to parameter list results" width="80%"><figcaption><p>OMrun scenario id linked to parameter list results</p></figcaption></figure>


---

# 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://dbi-services.gitbook.io/omrun-help/element-details/scenario.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.
