Tosca Automation Testing - Study Notes
1. Introduction to Tosca
Tosca is a test automation tool developed by Tricentis for functional and regression testing.
It follows a model-based approach, allowing scriptless automation, which makes it easy for
non-coders.
Key Features:
- Scriptless automation
- Model-based test automation
- API, UI, and database testing
- CI/CD integration for DevOps
2. Installation & Setup
1. Download Tosca from the Tricentis official website.
2. Install the Tosca Commander tool.
3. Create a new workspace to start test automation.
4. Ensure the system meets requirements (Windows OS, 8GB RAM, etc.).
3. Tosca Commander Overview
Tosca Commander is the main interface for creating, managing, and executing test cases.
Key Components:
- Modules: Store reusable objects for test cases.
- Test Cases: Automation scripts without coding.
- Execution List: Runs and tracks test results.
4. Module Creation & Test Case Design
Tosca follows a model-based testing approach where test cases are built from predefined modules.
Steps:
1. Identify the UI elements using Tosca Scan.
2. Create a Module for the identified elements.
3. Design test cases by linking modules to actions.
4. Execute and verify results.
5. Test Execution & Reporting
Tosca allows test execution and result tracking through the Execution List.
Key Features:
- Test execution tracking
- Automated test case execution
- Report generation and defect logging
6. API & Database Testing
API Testing:
- Tosca supports REST and SOAP API testing.
- API test cases can be built using JSON/XML structures.
Database Testing:
- Tosca integrates with SQL databases.
- Validate data consistency using SQL queries.
7. CI/CD Integration
Tosca can be integrated with Jenkins, Git, and other CI/CD tools for continuous testing.
Steps:
1. Configure Tosca execution in Jenkins.
2. Automate test execution in DevOps pipelines.
3. Generate test reports for tracking defects.
8. Certification Preparation
To become Tosca certified:
1. Enroll in Tricentis Academy.
2. Complete 'Tosca Automation Specialist Level 1 & 2'.
3. Take the certification exam.
4. Gain hands-on experience by working on real projects.