What are Tosca Modules?
What Are Tosca Modules?
In Tricentis Tosca, Modules are the building blocks for test automation. They represent the technical controls (like buttons, text fields, checkboxes) from your application under test.
📦 Definition:
A Tosca Module is a reusable object that stores the structure and properties of UI elements or APIs for automation.
🧰 Types of Tosca Modules:
-
Standard Modules
-
Predefined modules provided by Tosca (e.g., clicking a button, opening a browser).
-
-
Custom (Business) Modules
-
Created by scanning your application (web, desktop, API, etc.).
-
Store specific UI elements like:
-
Text input fields
-
Radio buttons
-
Tables
-
Drop-downs
-
-
🔍 How Are Modules Created?
-
Use Tosca XScan to scan your application.
-
Tosca captures the UI controls and creates a Module.
-
These Modules can then be reused across multiple Test Cases.
📋 Module Structure:
Each Tosca Module contains:
-
Controls (Attributes): The elements captured (e.g., Email field, Login button).
-
Properties: Technical details like ID, XPath, class name, etc.
-
ActionModes: (like Input, Verify, Buffer) used during test case execution.
🔁 Reusability:
-
Once a module is created, you can reuse it in many test cases.
-
Changes to the module will reflect in all linked test cases — making maintenance easy.
✅ Example:
You scan a login page → Tosca creates a Module with:
-
Email input field
-
Password input field
-
Login button
You use this module in multiple test cases to perform login actions.
🎯 Summary:
-
Modules = core UI/API element definitions
-
Created using XScan
-
Contain controls and technical identifiers
-
Enable fast, reusable, low-maintenance test case design
Comments
Post a Comment