# Test Data Object

### ![](https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%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://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-549b12509b21ccbfa7e538df4bb21f12f29123c6%2FOMrunHelp_TestObjectData1.png?alt=media&#x26;token=ffe2679a-8ed5-48c9-b0fc-b5f0621aff9f" 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://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media" 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://gitlab.com/dbiservices/omrun/help/-/blob/v5.x/element-details/test-data-object/query.md) and generate the [Business Rules](https://dbi-services.gitbook.io/omrun-help/element-details/test-data-object/business-mapping).

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-d67becb730998ca3222f0d62c2d4f36edde89571%2FOMrunHelp_TestObjectData2.png?alt=media&#x26;token=5b893103-eff8-4c59-875b-aa54b821a157" alt="OMrun test component dropdown menue" width="50%"><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 <img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media" alt="OMrun Data Object 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-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media" alt="OMrun Data Object 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-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media" alt="OMrun Data Object 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-ce959a5d4108a2aa9920c5b58a1e5daf06d9582f%2FOMrunHelp_TestObjectData3.png?alt=media&#x26;token=46e1a54e-f4b2-4976-9a89-55772d0b9f23" alt="OMrun test data object dropdown menue" width="50%"><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.

| Action                                              | Outcome                                                              |
| --------------------------------------------------- | -------------------------------------------------------------------- |
| "left mouse button down" and drag object            | **Move** Test Object to another Component (stop over component name) |
| "left mouse button down" **+ Ctrl** and drag object | **Copy** Test Object to another Component (stop over component name) |

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-2531a0e78299ca9f9b1da91139b1ad365560a2ad%2FOMrunHelp_TestObjectData4.png?alt=media&#x26;token=a729b5f8-3ce4-4f81-a7e3-4a3f7eab3178" alt="OMrun test data object - drag &#x26; drop" width="50%"><figcaption><p>OMrun test data object - drag &#x26; drop</p></figcaption></figure>
