Options for Modules and ModuleAttributes

You can use the context menu of Modules and ModuleAttributes or the dynamic menu Modules to apply specific options to your selected Module or ModuleAttribute.

For further information on general options, please see also chapter "General options in the context menu".

Create ModuleAttribute (classic Module/ XModule, XModuleAttribute)

Follow the steps below to create a new ModuleAttribute:

  1. Go to the Modules section and right-click on the Module which should receive a new attribute.

  2. Select the option Create ModuleAttribute from the context menu. You can also left-click on the Module and select Create Object->ModuleAttribute (classic Module), or Create Object->ModuleAttribute (XModule) from the dynamic menu Modules.

    The new ModuleAttribute is being created and Tosca Commander automatically offers to rename it.

  3. You can either assign a new name to the new attribute, or you can use the default name by pressing Enter.

Any referenced TestSteps are automatically updated for Modules that are already in use. The business-based content of the new TestStepValue remains empty.

XModules enable you to map tree structures for test objects by creating XModuleAttributes for XModuleAttributes.

If you change the order of ModuleAttributes in a Module, Tricentis Tosca will automatically update the TestStepValues order in the TestCase that uses this Module.

Create Duplicate (after this)

This creates a duplicate of the selected ModuleAttribute directly beneath this ModuleAttribute.

Create Generic List Item

Creates a new generic list item (see chapter "Creating generic list items").

This option is available for the following control types ComboBox, ListBox, SiebButtonComboBox, SiebTextComboBox, SiebToolbar, SiebDialog, TabControl and EditableComboBox.

Create ModuleAttribute (after this)

Creates a new ModuleAttribute directly after the selected ModuleAttribute. The new ModuleAttribute receives the name of the selected ModuleAttribute and a consecutive number.

Create BusinessID Param (XModules, XModuleAttributes)

Creates a technology-independent, business-based parameter. All technologies offer identical or similar business types in terms of handling and the content of controls, for instance EditBox, Label, ComboBox, etc.

Identical business types usually have the same properties.

Each control of the business type EditBox contains the property Text.

Create Configuration Param (XModules, XModuleAttributes)

This creates a configuration parameter (see also chapter "Configuration Param").

Create ReflectedID Param (XModules, XModuleAttributes)

This creates a ReflectedID Param (see also chapter "ReflectedID Param").

Create Steering Param (XModules, XModuleAttributes)

Creates a steering parameter (see also chapter "Steering Param"). This can be used for specifying the behaviour upon control steering, and a value can additionally be assigned to the parameter.

Create TechnicalID Param (XModules, XModuleAttributes)

Creates a technical parameter for defining a technology-dependent property for a control. A value can additionally be assigned to the parameter.

The available properties are derived from the interface of the control to be steered.

Create Transition Param (XModules, XModuleAttributes)

Creates a transition parameter (see also chapter "Transition Param").

Attach File

Use this option to either reference or embed external files (see chapter "Manage file attachments").

Capture screenshot

This captures a specific area of the current screen. You can either reference and embed your screenshot (see chapter "Manage file attachments"). The newly created screenshot is shown in the Image column of the details view.

Synchronize with Tosca Wizard (classic Module)

This option opens Tosca Wizard and updates existing Modules and its attributes and adds new attributes to these Modules (see chapter "Synchronize Modules").

Delete

  1. Select the Module(s) to be deleted and click either on Delete in the context menu or the dynamic menu Modules, or press the Del key.

  2. If Modules are used in one or more TestCases, the following warning message will appear:

Module is used

  1. To nevertheless delete the Module(s) click on OK.

  2. Click on Cancel if you do not want to delete the Module(s).

If a Module is deleted although it is used in a TestCase, the TestStepValues do no longer have a reference attribute and are marked with <no Module associated>. The affected TestSteps are thus not able to steer any controls.

TestStepValues without Module

If an attribute is removed, the business information of this attribute will remain in the TestCase, but the attribute name will change to <No Module associated>. The attribute will not be removed from the TestCase.

If the Module is not used in any TestCases, the attribute is deleted without further prompting.

Convert to ControlGroup (XModuleAttribute)

This option converts all selected controls into a ControlGroup. Use ControlGroups to put your controls view into a clear structure. This option is available for Radiobuttons, buttons and links. You can only use controls of the same type to create your control groups.

If you combine several ModuleAttributes to a control group, the TestStepValues are also grouped accordingly. You can select the controls from a drop-down menu within the TestStepValues.

Creating ControlGroups

ControlGroup in the Module and in the TestStep

Tricentis Tosca will show an according message if objects in multi-user workspaces could not be checked out, or if a control to be converted is already used in a TestCase.

For further information about ControlGroups, please see also chapter "Control types".

Convert to separate XModuleAttributes (XModuleAttribute)

This converts a control group to individual XModuleAttributes. This option can be used with Radiobuttons, buttons and links.

Modify->[Property/Parameter]

This opens a dialog box where you can specify a new value for the property or the parameter.

Reset property->[Property/Parameter] (XModuleAttribute)

This removes the specific parameter selected for an XModuleAttribute.

Purge missing references

Removes any missing references between objects.

Export Subset

This option enables you to export Tosca Commander objects to a subset, starting from the selected object (see chapter "Import and export objects").

Keyword Migration

Migrates classic Exchange Portal Modules to TBox Automation Tools (see chapter "Migrate Exchange Portal Modules"). The following options are available for selection:

  • Migrate all Module usages to TBox

  • Migrate Module usages in Mixed TestCases to TBox