# Test Data Object

### ![](https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media)

### Abstract

Test Object Data Type = Data comparison of two data sources (Data Source A and Data Source B). Data Source A represents the source system (reference system), Data Source B the destination system (system under test).

OMrun Test Data Objects allow to maintain and execute test data objects. An empty default parameter list "Extensive" will be created automatically when adding a new test data object. Only the selected list item defined in the test data object is called for execution using the indicated parameters.

<figure><img src="https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-d08ceb3a266d41d0181595e60973133bdc2b719a%2FOMrunHelp_TestObjectData1.gif?alt=media" alt="OMrun test data object  screen" width="80%"><figcaption><p>OMrun test data object screen</p></figcaption></figure>

***

### New

On Navigation Tree at Test Component level click on the right mouse button and select <img src="https://gitlab.com/dbiservices/omrun/help/-/blob/v4.x/.gitbook/assets/Icon_TOB_data%20(5).png" alt="OMrun Data Object Icon" data-size="line"> `New`.

A new empty test object is created within the same component. After enter a new name you can begin to select the data bases, enter the [Queries](https://dbi-services.gitbook.io/omrun-help/version-4.x/element-overview/test-data-object/query) and generate the [Business Rules](https://dbi-services.gitbook.io/omrun-help/version-4.x/element-overview/test-data-object/business-mapping).

<figure><img src="https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-224bb5736e38cc26efce8e85879e44c8d7231af9%2FOMrunHelp_TestObjectData2.gif?alt=media" alt="OMrun test component - dropdown menue"><figcaption><p>OMrun component - dropdown menue</p></figcaption></figure>

***

### Copy, Rename, Delete

On Navigation Tree at Test Object level click on the right mouse button and select `Copy`, `Rename` or `Delete`.

<figure><img src="https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-684127bb6bbe830ecd0c833b349583b576b645da%2FOMrunHelp_TestObjectData3.gif?alt=media" alt="OMrun test data object - dropdown menue"><figcaption><p>OMrun test data object - dropdown menue</p></figcaption></figure>

***

### Drag & Drop

On Navigation Tree you can move or copy a test object from one container (Component) to another by simply drag & drop the element an pressing the relevant keys.

* Ctrl + "left mouse button down" = Copy Test Object to another Component
* Shift+ "left mouse button down" = Move Test Object to another Component

<figure><img src="https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-f456476800b2f4cc1b53d5da94fb1eb0a77f9396%2FOMrunHelp_TestObjectData4.gif?alt=media" alt="OMrun test data object - drag &#x26; drop"><figcaption><p>OMrun test data object - drag &#x26; drop</p></figcaption></figure>
