Replace Modules

There is a distinct connection between TestSteps and XModules. In Tricentis Tosca, you can exchange XModules in order to define a new technical basis (XModules) for all referenced TestCases. Any existing references between XModules and TestSteps will be maintained upon exchange. Specializations and references are additionally considered (see chapter "Structure XModules").

When XModules are exchanged, all referenced TestCases are executed with a modified technical basis. This allows TestCases of different XModule versions to be executed.

Exchanging Modules

In Tosca Commander you can exchange individual XModules and XModule folders without deleting any references to the TestSteps.

Preconditions

  • All XModules which exist in the source folder must also exist in the target folder, and their names must match.

  • All XModuleAttributes which exist in the source Module must also exist in the target Module, and their names must match.

Preconditions for multi-user projects

Procedure

The procedure for exchanging XModules or XModule folders is identical.

  1. Click on the XModule to be replaced and keep the left mouse button pressed.

  2. Drag the selected XModule over the Module with which to replace it and keep the Shift key pressed.

  3. Release the left mouse button.

  4. In the subsequent dialog box, select the option Replace XModule Usages.

  1. Confirm your selection by clicking OK in the subsequent dialog box:

Replacing Modules in TestSteps

  1. In the subsequent dialog you will be prompted to decide whether the source objects should be deleted or not.

Deleting source objects

All TestStep references will now point to the replaced XModules.