What is Test Case Design in Tosca?
What is Test Case Design in Tosca?
Test Case Design (TCD) in Tricentis Tosca is a feature that helps you create multiple test cases quickly and efficiently by using combinations of test data.
Instead of creating test cases one by one, TCD lets you design them logically and data-driven.
πΉ Purpose of Test Case Design
-
Reduce manual effort
-
Increase test coverage
-
Handle positive and negative scenarios
-
Enable data-driven testing
-
Keep test logic and test data separate
πΉ Key Concepts in Tosca TCD
| Term | Meaning |
|---|---|
| Test Case Design Sheet | A table that holds test conditions and combinations |
| Test Sheet | Main table to design test data combinations |
| Attributes | Columns in the sheet (e.g., Username, Password) |
| Values | Possible data for each attribute |
| Combinations | Automatically generated test cases from attribute values |
πΉ How It Works (Step-by-Step)
-
Create a TestSheet
This is where you define the attributes (inputs, expected results). -
Add attributes and values
For example:-
Attribute: Login Status → Values: Valid, Invalid
-
Attribute: Browser → Values: Chrome, Firefox
-
-
Generate combinations
Tosca can create:-
All combinations (full coverage)
-
Pairwise combinations (minimal but effective coverage)
-
Manual combinations (you define specific ones)
-
-
Link to test case template
Connect your TCD sheet to a template test case. This test case uses variables instead of fixed values. -
Create instances
Tosca generates real test cases from the combinations.
πΉ Example
Let’s say you want to test login functionality.
| Username | Password | Expected Result |
|---|---|---|
| valid_user | valid_pass | Success |
| invalid_user | valid_pass | Failure |
| valid_user | invalid_pass | Failure |
With Test Case Design, Tosca can auto-generate all these cases in minutes.
πΉ Benefits of Using TCD in Tosca
-
Saves time by avoiding duplicate work
-
Makes test maintenance easier
-
Enables data-driven automation
-
Supports better test coverage with fewer test cases
✅ Summary
| Feature | Description |
|---|---|
| TCD | A Tosca module for designing test logic and data combinations |
| Use Case | Create test cases based on data conditions |
| Benefit | Faster, smarter test case creation and maintenance |
| Output | Data-driven, reusable, and efficient test cases |
Comments
Post a Comment