Tosca Terminologies: Modules, Test Cases, and Execution Lists

Tosca Terminologies: Modules, Test Cases, and Execution Lists

If you're new to Tricentis Tosca, understanding its core terminologies is the first step to mastering automated testing with this powerful tool.

In this blog, we’ll explain three of the most important Tosca concepts:

  • Modules

  • Test Cases

  • Execution Lists

Let’s break them down in simple terms with examples.


What Is Tosca?

Tosca is a model-based automated testing tool used for functional and regression testing.

It helps testers:

  • Design tests without scripting

  • Reuse test logic easily

  • Automate UI and API tests

  • Execute tests across platforms


1. Modules in Tosca

What is a Module?

A Module in Tosca is a representation of the UI or system element you want to test.

You can think of it as a map or template that tells Tosca:

“Here’s a button,” or “Here’s a textbox.”

 Example:

You scan a login page. Tosca creates a Module with:

  • Username textbox

  • Password textbox

  • Login button

Each element in a Module is called a Module Attribute.


Types of Modules

TypeDescription
Standard ModuleCreated by scanning UI elements
Business ModuleCustom reusable blocks for test logic
Technical ModuleLower-level technical operations

Tip:

Use Module Names and attributes that clearly describe the UI element.
It helps in easy identification and reusability.


2. Test Cases in Tosca

What is a Test Case?

A Test Case is a sequence of test steps designed to verify a specific function or flow in your application.

In Tosca, Test Cases are created using Modules.
You drag Module Attributes into a Test Case and assign values or actions.


 Example: Login Test Case

Modules Used:

  • LoginPage Module

Test Steps:

  1. Type username = testuser

  2. Type password = 123456

  3. Click login button

Each step links back to the Module Attribute and tells Tosca what to do with it.


Why It’s Powerful

  • You don’t write code — just drag, drop, and assign.

  • You can reuse Modules across multiple Test Cases.

  • You can use Test Case Templates to run tests with different data sets.


 3. Execution Lists in Tosca

What is an Execution List?

An Execution List is where you organize and run your Test Cases.

Think of it as a playlist of tests.

You decide:

  • Which Test Cases to run

  • In what order

  • With what settings


Example:

ExecutionList – LoginTests

  • TestCase 1 – Valid Login

  • TestCase 2 – Invalid Login

  • TestCase 3 – Blank Password

You can run the whole list or individual tests from it.


 Execution Features

  • Schedule test runs

  • Generate logs and reports

  • Run tests in local or distributed environments

  • Integrate with CI/CD tools like Jenkins


 Summary Table

TermMeaningRole in Tosca
ModuleRepresents UI or system elementsBuilding block for Test Cases
Test CaseSequence of test steps using ModulesDefines the test logic
Execution ListGroup of Test Cases to run togetherOrganizes and runs tests

💡 Real-Life Analogy

Tosca TermReal World Example
ModuleCar parts (wheel, seat)
Test CaseAssembling a car to test drive
Execution ListTest drive schedule for cars

🧠 Tips for Beginners

  • Scan once, reuse forever – Don’t rescan the same screen again and again.

  • Name clearly – Use meaningful names for Modules and Test Cases.

  • Use folders – Organize your workspace using folders for features or modules.

  • Use TestCase Templates – For data-driven testing with multiple inputs.


Comments

Popular posts from this blog

Why Choose Python for Full-Stack Web Development

How Generative AI Differs from Traditional AI

What is Tosca? An Introduction