General module properties

When you create modules, Tosca Cloud automatically assigns default properties and some property values to the modules and module attributes. These properties define the identification, interaction, and validation of controls during automated testing. They store important details such as element locators, expected behaviors, or metadata, enabling the test system to reliably interact with the right elements and ensuring that the test is accurate and adaptable to changes in the application.

Go to Inventory > Modules and select a module to view its properties in the Properties pane on the right side of the window.

In this table you'll find all supported properties and their meaning:

Property

Description

AutomationFramework

Indicates the automation framework, such as TBox or Generic.

BusinessType

  • At the module level, this indicates the technology-specific root element, such as HtmlDocument or XmlDocument.

  • At the module attribute level, this indicates the control type of an attribute, independent of the technology used. Same BusinessTypes have the same properties, for example, every editbox control has the Text property.

Cardinality

Specifies how many times you can use a module attribute as a test step value in a single test step.

  • 0-1: Initially creates a test step value as a placeholder for each module attribute. You can create only one test step value.

  • 1: Creates exactly one test step value for a module attribute. The default action mode is the value set in the Action Mode column.

  • 0-N: Initially creates a test step value as a placeholder for each module attribute. You can add as many additional test step values as needed.

  • 1-N: Creates a test step value as a placeholder for each module attribute. Creates at least one test step value, and you can add as many additional test step values as needed.

CreatedAt

Indicates the date and time when the object was created.

CreatedBy

Indicates the Tosca Cloud user name that created the object.

Default action mode

Specifies the default action mode for test step values.

Newly created test step values automatically get this action mode if the cardinality of the attribute has a value >0.

You can select the available action mode from a drop-down list, depending on the specified InterfaceType. Some controls get a default value when you scan them with Tosca XScan.

Default data type

Defines the default data type for the test step value. The data type indicates the type of input specified in the Value field of the test step value.

Tosca Cloud applies the data type defined at the module attribute level to the test step values. However, you can always change it there if necessary.

Default value

Defines a default value that is automatically passed to the test case whenever you use the module.

Description

You can write any information in this text field. This doesn't affect the automated control steering. The text is displayed in the tooltip of the test step or test step value.

HasMissingReferences

Specifies that a reference is missing. Possible values are True or False (default).

IdentifyingContext

Contains the control information necessary to identify module attributes, such as parent controls, during testing. The value is a JSON string that you can copy or edit.

ImplementationType

Indicates the technology used to steer the test object, such as JAVA, HTML, SAP, etc.

InterfaceType

Specifies whether the test object is a GUI or nonGUI.

  • GUI: The number of action modes provided is limited to those required for graphical user interfaces.

  • NonGUI: All available action modes are visible.

  • Implicit: Uses the parent object's InterfaceType (default).

IsAbstract

Indicates whether your module is abstract or not. You can't use abstract modules in the test case.

ModifiedAt

Indicates the date and time when the object was last modified.

ModifiedBy

Indicates the Tosca Cloud user name who last modified the object.

Tag

Add one or more custom labels that you can use to search and filter your modules.

TechnicalId

Use this parameter to define a technology-specific property.

UniqueId

Contains the object's unique identification number in the workspace.

Version

Specifies the Tosca Cloud version used to scan the module.

Value range

The Value range on the Details tab contains a list of values separated by semicolons.

Use module value ranges in a test step

The Value range on the Details tab contains a list of values that are separated by semicolons. Tosca XScan identifies these values when scanning the Combobox and Listbox control types and automatically adds them to the module. You can also specify the values manually.

When you add the module attribute to your test case, the values show up as a dropdown list in the Value range column. Just pick one, and the system uses the exact text, including spaces.