TestData - Move record to TDS type

Tricentis Tosca Test Data Service enables you to move records from one Existing TDS type to another.

To do so, use the Module TestData - Move record to TDS type.

In case security is enabled, the functionality described on this page may be restricted depending on the user groups you belong to. To set your access rights, contact your Administrator.

This Module is part of the Standard subset. You can find it under Standard modules->Test Data Management->Test Data Service.

Example

The following example shows how to move a record to a new Existing TDS type. In this case, you have to retrieve the record from the Tricentis Tosca Test Data Service database first and then perform an update on it. To do so, follow the steps below: 

  1. Create a new TestCase and name it Sample TestCase Using TDS. Define the following test configuration parameter for your TestCase:

    • TestDataEndpoint to specify the location from which you want to retrieve your records

    • TestDataRepository to define the repository to be queried

Define test configuration parameters for TestDataEndpoint and TestDataRepository.

Optionally, you can omit the test configuration parameter (TCP) called TestDataEndpoint. In this case, Tosca Commander automatically retrieves a TDS endpoint from the Service Discovery.

To configure it, go to the Tosca Commander settings and navigate to Tricentis Services->ServerEndpointAddress.

  1. Drag and drop the Module TestData - Find & provide record onto the TestCase Sample TestCase Using TDS (see chapter "Creating TestSteps from Modules").

  2. Tricentis Tosca automatically creates a new TestStep with the XTestStepValues Existing TDS type*, Alias name (record) and Data search filter. Populate your XTestStepValues:

    • Enter car into the Value column of Existing TDS type*. If you leave Alias name (record) blank, Tricentis Tosca automatically uses the Value of Existing TDS type*.

    • Underneath Data search filter, enter make into <Enter_existing_TDS_attribute_and_a_value>. Enter the VW into the Value column and set the ActionMode to Constraint.

Find a record of the type car.

  1. Drag and drop the Module TestData - Move record to TDS type onto your TestCase. Tricentis Tosca automatically creates a new TestStep with the XTestStepValues Existing TDS type* and Alias name (record). Populate your XTestStepValues:

    • Enter used car as the value for Existing TDS type*.

    • Enter car as the name of the Alias which holds the record that was found in the previous step.

Moving the record to TDS type used car.

When you execute your TestCase, Tricentis Tosca uses the value car form the Existing alias name (record)* XTestStepValue to move it to the new type used car, defined via the XTestStepValue Existing or new TDS type*.