Tosca

Q1: What is Tosca?

Answer:
Tosca is an automation testing tool developed by Tricentis. It uses a model-based testing (MBT) approach, allowing testers to automate functional, regression, API, mobile, SAP, and web applications without extensive coding.


Q2: What are the key features of Tosca?

Answer:

  • Scriptless automation
  • Model-Based Testing (MBT)
  • Risk-Based Testing
  • Test Data Management
  • API Testing
  • CI/CD Integration
  • Cross-browser testing
  • Mobile Testing
  • SAP Testing
  • Easy maintenance

Q3: What is Model-Based Testing (MBT)?

Answer:
Model-Based Testing is a testing approach where test cases are created from application models instead of writing scripts. It reduces maintenance and improves reusability.


Q4: What are the components of Tosca?

Answer:
The main components are:

  • Tosca Commander
  • Tosca Wizard
  • Tosca Executor
  • Tosca Test Repository
  • Tosca Modules
  • Tosca TestCases
  • Tosca Execution Lists

Q5: What is Tosca Commander?

Answer:
Tosca Commander is the main interface used to create, organize, execute, and manage automation test cases.


Q6: What is a Workspace in Tosca?

Answer:
A Workspace is the project repository where all Tosca objects such as modules, test cases, execution lists, and requirements are stored.


Q7: What is Tosca Scanner?

Answer:
The Tosca Scanner identifies application controls and creates reusable modules used in automation.


Q8: What is a Module in Tosca?

Answer:
A Module is a reusable object repository that stores application controls and properties required for test automation.


Q9: What is a TestCase in Tosca?

Answer:
A TestCase is a collection of test steps used to verify application functionality.


Q10: What are TestSteps?

Answer:
TestSteps represent individual actions such as clicking buttons, entering text, or verifying values during test execution.


Q11: What is TestCase Design (TCD)?

Answer:
TestCase Design is a feature used to create reusable business test data and automatically generate multiple test cases.


Q12: What are Attributes in TestCase Design?

Answer:
Attributes represent input fields or business parameters like Username, Password, Product Name, etc.


Q13: What are Instances in Tosca?

Answer:
Instances are combinations of attribute values used to generate different test scenarios.


Q14: What is Test Configuration Parameter (TCP)?

Answer:
TCP is used to configure dynamic values for test cases without modifying the original test case.


Q15: What are Buffers in Tosca?

Answer:
Buffers temporarily store values during execution so they can be reused later.

Example:

 
{B[CustomerID]}
 

Q16: What is Business Parameterization?

Answer:
Business Parameterization allows the same test case to run with multiple data sets.


Q17: What is a Reusable TestStep Block?

Answer:
A Reusable TestStep Block is a collection of reusable test steps that can be called from multiple test cases.


Q18: What is ExecutionList?

Answer:
ExecutionList contains one or more test cases scheduled for execution.


Q19: What are Execution Entries?

Answer:
Execution Entries represent individual test cases inside an ExecutionList.


Q20: What is ScratchBook?

Answer:
ScratchBook is used to execute test cases quickly without adding them to an ExecutionList.


Q21: What is Recovery Scenario?

Answer:
Recovery Scenarios automatically handle unexpected application errors during execution.


Q22: What is Synchronization in Tosca?

Answer:
Synchronization ensures that Tosca waits until an application is ready before performing the next action.


Q23: What are Verification Points?

Answer:
Verification Points validate whether the actual result matches the expected result.


Q24: What is ActionMode in Tosca?

Answer:
ActionMode specifies the action to perform on a control.

Common ActionModes:

  • Input
  • Verify
  • Buffer
  • Select
  • Constraint

Q25: What is Input ActionMode?

Answer:
Input ActionMode enters data into an application field.


Q26: What is Verify ActionMode?

Answer:
Verify ActionMode checks whether the actual value matches the expected value.


Q27: What is Buffer ActionMode?

Answer:
Buffer ActionMode stores runtime values into buffers for later use.


Q28: What is Constraint ActionMode?

Answer:
Constraint ActionMode searches for controls based on specified conditions before performing actions.


Q29: What are Dynamic Expressions in Tosca?

Answer:
Dynamic Expressions generate values dynamically during execution.

Examples:

  • {DATE}
  • {TIME}
  • {RANDOM}
  • {TODAY}

Q30: What is Test Data Service (TDS)?

Answer:
Test Data Service (TDS) is Tosca’s centralized solution for managing and supplying test data across multiple test cases and environments.