Modules are the building blocks of your TestCases. They contain the technical information that Tricentis Tosca uses to perform a sequence of automated actions on your system under test.
You create and manage your Modules in the Modules tab of Tosca Commander.
Types of Modules
When you create a TestCase, you work with the following types of Modules:
Modules provided in the Standard subset.
Modules you create by scanning.
Modules you create with the Recorder or Tricentis Automation Recording Assistant (Tricentis ARA).
Modules you create manually.
Tricentis Tosca uses classic Modules and XModules:
Classic Modules use Classic Engines for test automation.
XModules use Engines 3.0 for test automation.
You can use XModules in the same way as classic Modules and they have mostly the same properties.
Work with Modules
Each Module consists of ModuleAttributes:
In the Modules from the Standard subset, the ModuleAttributes are parameters that Tricentis Tosca needs to perform the special execution task.
In scanned Modules, these are the controls you have selected during the scan.
When you create a TestStep from a Module, Tricentis Tosca creates TestStepValues from the ModuleAttributes.
By filling out the TestStepValues, you tell Tricentis Tosca what you want to do.
Since you only modify the TestStep that you create from a Module, the Module and its technical information remain unchanged. This means that you can use the same Module repeatedly, and perform different actions with it.
For instance, you can use the Module OpenUrl from the Standard subset in different TestCases to open different URLs.
However, if you modify the Module, Tricentis Tosca automatically updates all TestSteps that you created from this Module. It also applies the same specifications to all TestSteps that you create from the Module in the future.
The following chapters provide detailed information on other actions that you can perform when you work with Modules:
Properties of Modules
Modules and ModuleAttributes have two types of properties: