Tricentis TOSCA
TOSCA Interview Questions and Answers
1. What is Tosca?
Tosca is a codeless test automation tool developed by Tricentis that supports GUI, API, and database testing. It is widely used for automating end-to-end testing across web, mobile, desktop, and enterprise applications.
2. What are the key features of Tosca?
Model-based test automation
Codeless automation (reduces scripting efforts)
API & GUI testing
Risk-based testing
Service virtualization
Continuous Integration (CI/CD) support
Integration with JIRA, Jenkins, and Azure DevOps
3. What are the main components of Tosca?
Tosca Commander – Main interface for test case design & execution.
Tosca Executor – Runs automated test cases.
Tosca Repository – Stores test cases and modules.
Tosca Wizard – Scans applications to create modules.
Tosca API Scan – Used for API testing.
4. Explain Model-Based Test Automation (MBTA) in Tosca.
Model-Based Test Automation (MBTA) is Tosca’s approach to creating test cases without scripting. Instead of writing code, Tosca scans applications and creates reusable models (modules) to build automated test cases.
5. What are Modules in Tosca?
Modules in Tosca are building blocks that store technical details of UI elements (buttons, fields, tables, etc.). They are used to create automated test cases without scripting.
6. What is the difference between Manual and Automated TestCases in Tosca?
| Feature | Manual Test Cases | Automated Test Cases |
| Execution | Manually performed | Automatically executed |
| Effort | High | Low after automation |
| Reusability | Limited | High |
| Maintenance | Tedious | Easy (with Model-Based approach) |
7. What is the Standard Module in Tosca?
Standard Modules are predefined reusable functions in Tosca for common operations like mouse clicks, keyboard inputs, verification, and API calls.
8. How do you create a TestCase in Tosca?
Scan the application using Tosca Wizard to create Modules.
Drag and drop the module into the TestCase section.
Define test data.
Execute the test.
9. What is a Business Dynamic Steering (BDS) in Tosca?
BDS allows dynamic data-driven testing by replacing hardcoded values with dynamic variables.
10. What is Test Configuration Parameter (TCP)?
TCP is used to define global and local test configurations, such as browser selection, environment settings, and execution parameters.
11. How does Tosca handle API Testing?
Tosca provides a built-in API Scan tool to automate REST and SOAP API testing. It supports:
Request & Response validation
Parameterization & Dynamic Data Injection
Chaining API requests
Assertions & Verification
12. What is Risk-Based Testing (RBT) in Tosca?
Risk-Based Testing (RBT) prioritizes test cases based on business risk impact. Tosca assigns risk levels to test cases, ensuring critical functionalities are tested first.
13. How do you execute TestCases in Tosca?
Manually from Tosca Commander
Using ExecutionList
Command Line Execution
Integrated with CI/CD tools like Jenkins
14. How can you integrate Tosca with Jenkins for Continuous Integration?
Install Tosca CI Agent.
Configure Jenkins to trigger Tosca test execution.
Collect results using Tosca Reporting.
15. What are the different test execution statuses in Tosca?
Passed (✔️) – Test executed successfully.
Failed (❌) – Test did not meet expected conditions.
No Result (⚠️) – Test execution did not complete.
16. What is TBox in Tosca?
TBox is Tosca’s execution engine that supports cross-browser testing, API automation, and UI automation.
17. What is the purpose of Recovery Scenarios in Tosca?
Recovery scenarios help handle unexpected errors during test execution by performing predefined actions like restarting the application or retrying a step.
18. How do you handle dynamic elements in Tosca?
Using Wildcards (
*and?)Using Regular Expressions
Using Dynamic Identifiers (XScan)
19. What is the difference between Tosca Classic and TBox?
| Feature | Tosca Classic | Tosca TBox |
| Architecture | Older | Newer, more efficient |
| Technology Support | Limited | Supports Web, API, Mobile, DB |
| Performance | Slower | Faster |
20. How does Tosca support DevOps?
Tosca integrates with Jenkins, Azure DevOps, and Docker for continuous testing in DevOps environments. It provides fast feedback in Agile CI/CD pipelines.
21. What are TestEvents and ExecutionLists in Tosca?
TestEvents: Used for scheduling and triggering test execution.
ExecutionLists: Stores and manages multiple test cases for batch execution.
22. How does Tosca handle Mobile Automation?
Tosca integrates with Appium and Perfecto to automate mobile applications.
23. What is the difference between Tosca and Selenium?
| Feature | Tosca | Selenium |
| Coding Required | No | Yes (Java, Python, etc.) |
| API Testing | Yes | No (Requires RestAssured) |
| CI/CD Integration | Yes | Yes |
| Licensing | Paid | Open Source |
24. How does Tosca support Database Testing?
Tosca allows direct interaction with databases to validate data using SQL queries.
25. What are some challenges in Tosca automation?
High licensing cost
Requires training for advanced features
Customization may need scripting (Tosca API, Java, C#)