Hierarchical data sets are added to TDA when transactions are recorded and added to the database during testing. You can review and interact with the data so that it can be used across testing scenarios.
Important Concept and Terminology
See About the Data Repository for definitions of terms used in this section.
Viewing Data
Choose a repository from the server menu and click on a data set to view the records.
Expand any row of this table to view specific data set record values. Values are displayed in the searchable JSON viewer.
To return to the repository table, click the arrow in the top right of the table header:
Sorting Columns
To sort a column, either click its name or use the drop-down menu in its top-right corner.
Resizing Columns
To resize a column, simply drag the column boundary to the desired position.
Viewing Null and Exclude Fields
Null
and exclude
are special values in TDA and are displayed differently.
If a primitive field was configured to be set to null/exclude, it is represented as [null]
/ [exclude]
. For example, see Age
in the screenshot below.
If a primitive list field is set to null/exclude, it is presented as an array of one item with the value [null]
/ [exclude]
. For example, see key
in the screenshot below.
If a record list field is set to null/exclude, it is presented as an array of one item with the value [null record]
/ [exclude record]
(to distinguish it from a null/exclude primitive list). For example, see string
in the screenshot below.
If you want to set a field to null or exclude (so it will not appear in the message when an element is populated from this data source), use [null]
or [exclude]
while editing.
Editing Data
Click Edit to make values editable.
Locked repositories
If the repository is locked by another user, you will not be able to modify it or delete any of its records.
Editable values will become active. You can edit data key values in the table and primitive values in the JSON view editor.
Click Save when finished.
Deleting a Record
Click on the row actions menu and choose Delete to remove a data set record.
Duplicating a Record
Click on the row actions menu and choose Duplicate. A copy of the record is added below the actioned row. You can edit the record as necessary.
Adding a Record
Click on the row actions menu and choose Add Row. A new record is added below the actioned row. You can edit the record as necessary.
Working with Key Columns
You can add new key columns to the data set, as well as delete and rename existing key columns.
Click on the ellipsis menu in the data set header to add key columns.
New key columns are added to the beginning of the table (immediately to the right of the Row # column) in alphabetical order according the following precedence:
Click on the column actions menu to rename or delete the column. You can also sort how the data is presented by key column values. Sorting does not affect the structure of the data.