Synchronize Modules

In Tricentis Test Automation for SAP you can update existing SAP and XBrowser XModules along with their ModuleAttributes, or add new ModuleAttributes. Any existing references between Modules and TestCases will persist in the process.

The system is able to automatically identify the Module by using technical information that is stored in the ModuleAttributes. If the technical information match, the parameter values stored in the ModuleAttribute are transferred to Test Automation for SAP Rescan.

Start Test Automation for SAP Rescan

  1. Make sure that the object to be tested is available, and that the screen you scanned with this Module is ready.

  2. In Test Automation for SAP Commander right-click on the Module to be synchronized and select the option Rescan from the context menu.

    Test Automation for SAP Rescan will open and scan the open screen.

Test Automation for SAP Rescan window

The Home tab in Test Automation for SAP Rescan provides you with the same options like Test Automation for SAP XScan. For further information on these options, please see also chapter "Scan Modules".

Add further ModuleAttributes

  1. Start Test Automation for SAP Rescan (see "Start Test Automation for SAP Rescan").

    Use the slider control in the Filter and Search menu to select predefined filter settings, and to show further controls (for instance invisible controls).

  2. Enable the checkbox(es) next to the control(s) to be added to the Module.

    Whenever you select a control, Test Automation for SAP Rescan will show you whether this control is uniquely identifiable or not. Please define additional identification properties for controls that cannot be uniquely identified (see chapter "Scan Modules").

  3. Click on Save And Exit to save the Module and to return to the start screen.

    The ModuleAttributes structure within the Module remains unchanged. Newly added ModuleAttributes are saved to the Module in the same order as the controls the tree view in Test Automation for SAP Rescan.

Map ModuleAttributes

  1. Click on the Map icon Map this module attribute to a element on the screen of a control in the Unmapped Controls section to map this to to a control of your choice. If you do not map this control to another control, the ModuleAttribute properties in the Module will remain unchanged.

Mapping unmapped controls

  1. Another Rescan window opens which allows you to map the previously selected ModuleAttribute to a control. Please note that existing ModuleAttributes can only be assigned to controls of the same business type.

Rescan: reassigning a control to another element

  1. Select the control from the list to which you would like to assign the existing control.

  2. Click either on Done to save your changes, or on Cancel to discard your changes.

Unmap ModuleAttributes

All ModuleAttributes that exist in the Module and which are not mapped to any controls in the application are shown in the Unmapped Controls section.

  1. Click on the Unmap icon Remove the link from the module attribute to the element on the screen in the tree view to remove assignments between ModuleAttributes.

    The control is then shown in the Unmapped Controls section.

Rescan window: Unmap function

  1. Map the ModuleAttribute to a control as described in chapter "Map ModuleAttributes".

Remap ModuleAttributes

  1. If you would like to reassign a ModuleAttribute to another control of the application, simply click on the Remap icon: Remap this module attribute to a different element on the screen.

Remapping controls: reassigning a control to another element of the application

  1. Another Rescan window opens. Map the ModuleAttribute to a control (see "Map ModuleAttributes").