> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/omrun-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/omrun-help/element-details/scenario.md).

# Scenario

### ![](https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media)

[![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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-bc04ff1ef2d41225fbb58a77599875169f9ce37e%2FOMrunHelp_Scenario1.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media" alt="OMrun Scenario Icon" data-size="line"> `New`.

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-931b484389788e81bfd38bf39de73a008892e419%2FOMrunHelp_Scenario2.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-265dcaf4f9600a8feef8f01b29b772e1dc9984b1%2FOMrunHelp_Scenario3.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media" alt="OMrun Scenario Icon" data-size="line"> `Copy`, <img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media" alt="OMrun Scenario Icon" data-size="line"> `Rename` or <img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media" alt="OMrun Scenario Icon" data-size="line"> `Delete`.

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-2d5267eba78ecd770f6c549f68fdf6e490ee6536%2FOMrunHelp_Scenario4.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-918f4a6aa2b4672f51a815216c067a4567156356%2FIcon_TSC.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-d04cd36bbc74d0646c34d533d71f60fc86b82c43%2FOMrunHelp_Scenario5.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-919abc4091b5d4bfc11dcf6ee450659b47434480%2FOMrunHelp_Scenario6.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-5ca5d0a7262af3188384aa5a8ed36f5f02814f7a%2FOMrunHelp_Scenario7.png?alt=media" 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="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-87f4f7e526ae58654e2a398ab22ebdbf0fb0e471%2FOMrunHelp_Scenario8.png?alt=media" alt="OMrun scenario id linked to parameter list results" width="80%"><figcaption><p>OMrun scenario id linked to parameter list results</p></figcaption></figure>
