Test Data Service Modules

The folder Standard modules->Test Data Management->Test Data Service in the Tricentis Tosca Standard subset contains XModules that perform specific tasks for Tricentis Tosca Test Data Service.

TestData - Find & provide record

The Module TestData - Find & provide record allows you to find a data record (see chapter "TestData - Find & provide record").

Once you have retrieved the record, the record is locked. No other TestStep can retrieve the same record.

It has the following ModuleAttributes:

ModuleAttribute

Description

Existing TDS type*

TDS type that contains the record you search for.

Alias name (record)

Specify an alias for the record you find. This alias is valid for the duration of the TestCase.

This ModuleAttribute is optional, unless you want to update, delete, or move the record you create.

Data search filter

Define search criteria for your records.

To do so, perform the following actions:

  • Replace the name of the data search filter parameter <Enter_TDS_attribute_and_a_value> with the name of the attribute that you want to search for.

  • Enter the expected value of the attribute into the Value column.

  • Use ActionMode Constraint.

You can also use wildcards and regular expressions.

TestData - Create & provide new record

The Module TestData - Create & provide new record allows you to add a new record to your database (see chapter "TestData - Create & provide new record").

It has the following ModuleAttributes:

ModuleAttribute

Description

Existing or new TDS type*

TDS type to which you want to add the record. You can create a new type or use an existing one.

The TDS type name must not contain the following characters: / ? # [ ] @ ! $ & ' ( ) * + , ; = \ :

Alias name (record)

Specify an alias for the record you create. This alias is valid for the duration of the TestCase.

This ModuleAttribute is optional, unless you want to update, delete, or move the record you create.

Data structure

Define attributes for your record. This ModuleAttribute is optional.

To define an attribute, perform the following actions:

  • Replace the name of the data structure parameter <Enter_TDS_attribute_and_a_value> with the name of the attribute that you want to create.

  • Enter a value for the attribute into the Value column.

  • Use ActionMode Input.

TestData - Update Record

The Module TestData - Update Record allows you to update an existing record in your database (see chapter "TestData - Update Record").

It has the following ModuleAttributes:

ModuleAttribute

Description

Existing alias name (record)*

Alias name of the record that you want to update.

Data structure

Add new attributes to the record or change the value of existing attributes.

To add or modify an attribute, perform the following actions:

  • Replace the name of the data structure parameter <Enter_TDS_attribute_and_a_value> with the name of the attribute that you want to create or modify.

  • Enter the desired value for the attribute into the Value column.

  • Use ActionMode Input.

TestData - Move record to TDS type

The Module TestData - Move record to TDS type allows you to move records from one existing TDS type to another (see chapter "TestData - Move record to TDS type").

It has the following ModuleAttributes:

ModuleAttribute

Description

Existing or new TDS type*

TDS type into which you want to move your record. You can create a new type or use an existing one.

The TDS type name must not contain the following characters: / ? # [ ] @ ! $ & ' ( ) * + , ; = \ :

Existing alias name (record)*

Alias name of the record you want to move.

TestData - Delete Record

The Module TestData - Delete Record allows you to delete records from your database (see chapter "TestData - Delete Record").

It has the following ModuleAttribute:

ModuleAttribute

Description

Existing alias name (record)*

Alias name of the record that you want to delete.

TestData - Update type

The Module TestData - Update type allows you to update a type in your database (see chapter "TestData - Update type").

It has the following ModuleAttribute:

ModuleAttribute

Description

Existing TDS type*

TDS type that contains the type you search for.

New type name*

A new TDS type name.

TestData - Expert Module

The Module TestData - Expert Module combines the functionality of other TestData Modules and provides you with additional functionality on top (see chapter "TestData - Expert Module").

It has the following ModuleAttributes:

ModuleAttribute

Description

Test data task*

Specify what you want to do. To do so, select the respective option from the Value drop-down menu.

You can choose from the following options:

  • ConsumeRecord: consume a record. You need to find a record first. Use alias name to refer to it when executing the steps.

  • UnconsumeRecord: unconsume a record. You need to find a record first. Use alias name to refer to it when executing the steps.

  • ConsumeType: consume a type.

  • UnconsumeType: unconsume a type.

TDS type

TDS type.

The TDS type name must not contain the following characters: / ? # [ ] @ ! $ & ' ( ) * + , ; = \ :

Alias name (record)

Alias name of the record.

Data structure

Find, verify, create, or modify attributes.

To do so, perform the following actions:

  • Replace the name of the data structure parameter <Enter_TDS_attribute_and_a_value> with the name of the attribute.

  • Enter the expected or desired value for the attribute into the Value column.

  • Choose the relevant ActionMode:

    To search for a record with this attribute, use ActionMode Constraint.

    To verify the value of the attribute, use ActionMode Verify.

    To create or modify the attribute, use ActionMode Input.