Replace Modules

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

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

Exchanging Modules

In Test Automation for SAP Commander you can exchange individual XModules and Module folders without deleting any references to the TestSteps.

Preconditions

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

  • All ModuleAttributes 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 Modules or Module folders is identical.

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

  2. Drag the selected Module 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 Module Usages or Replace XModule Usages.

Replace Module 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 Modules.