Skip to content

Top 20 Tosca Interview Questions and Answers

Tosca Interview Questions

The existence of software testing automation and other software testing tools has dramatically increased the quality of an application. Testers are at times required to undergo skills assessment tests in order to employ them.

Today, there are several tester tools available that make life much easier for both the testers and their customers. The most important software testing tools like Tosca support almost every test object, which makes it one of the best among all the available options. Among the top tools available in the market right now, Tosca wins the race by far too many points in terms of its utility and that’s why landing a job at Tosca could promise you a career of a lifetime.

Tosca: An overview

Tosca is an open-source test automation framework, designed and optimized for testing Web applications. It automates software testing processes with some of the best solutions for quality assurance. Tosca combines various aspects of software testing such as test case, test designs, modules, automation, and so on to conduct responsive as well as regression software testing. It provides a versatile methodology to test Command Line Interface (CLI), Graphical User Interface (GUI), an Application Programming Interface (API) along with Integrated Test Management.

Tosca makes the work of testers very easy by automating testing and reducing project timeline by manifold. This tool, hence, allows testing professionals to perform end-to-end testing on applications in a very efficient manner. One can perform two types of tests on applications using Tosca: 1. Model-based testing and 2. Risk-based testing.

Tosca Interview Questions – A complete guide to crack your interview

1. Who can use the Tosca automation tool?

Ans. Tosca can be used by both developers and testers to automate software testing. It is considered the best automation tool to test a wide range of applications starting from web browsers, mobile apps, native apps, SAP, etc. It supports all major platforms including Windows, Linux, and Mac OS. It also supports programming languages like Java, Python, HTML5 Web Apps, and JavaScript for cross-platform testing and is certified for use in Selenium.

2. What are the key features of Tosca?

Ans. Tosca allows performing automated regression, functional and data-driven testing.
The key features of Tosca are as follows:
a. Easy-to-use scripting language for test scripts
b. Data-driven testing
c. Easy integration with different tools such as Selenium, HP UFT, etc.
d. Smart object recognition engine that allows handling dynamic elements

3. What are the main components of the Tosca Testsuite package?

Ans. Below is a list of Tosca testsuite package:

  1. Tosca Commander – For creating projects
  2. Tosca Executor – For executing test cases
  3. Tosca XScan (Tosca Wizard) – For scanning and saving input fields as modules
  4. Tosca Repository – For storing the workspaces

4. Enlist the loops available in Tosca

Ans. There are 2 types of loops available in Tosca:

  1. Incremental loops – These can be executed for a fixed number of repetitions
  2. Dynamic/ do-while/ while loops – One can set the condition and the loop can be executed until this condition is met.

5. What are the types of search functions provided by Tosca Commander?

Ans. Tosca Commander provides two types of search functions:

  1. Simple search – A normal search where you need to input a value of the Test case or any Test Step Value. You can also add search descriptions to ensure better search accuracy.
  2. The Tesca Query Language (TQL) search – It’s a part of the simple search that can be activated by clicking the TQL search button. Many subexpressions are included in TQL search queries. These expressions are displayed in a multiline field by Tosca Commander. Within a project, TQL search queries can be used to find all objects, object relations, and object properties. This allows you to find all Test Cases that aren’t associated with any Execution Lists. TQL searches can also be stored in virtual folders.

6. What is TBox and what are its features?

Ans. Tosca TBox is designed for modern software delivery methods such as Agile and DevOps. It enables teams to iterate rapidly, run frequent tests, and deliver quality releases while dramatically reducing testing costs.


  1. Designed for Business User-Driven Testing
  2. Integrated Model-Based Test Automation
  3. Flexible Test Management for Agile and DevOps
  4. Higher performance in the creation and execution of tests
  5. One common interface for all supported technologies
  6. A broader range of ActionModes

7. Explain the synchronization in TOSCA.

Ans. Tosca’s synchronisation feature allows automated TestCases to be synchronised with the application’s speed by leveraging processes and events.

8. What is the function of TOSCA Rescan?

Tosca Rescan is the feature that enables rescanning a module that has already been scanned. A scanned webpage, used in a test case must be rescanned after all the UI changes that it undergoes in the test case.

9. What do you mean by a template in TOSCA?

TOSCA templates are models that can be reused and customized while framing new Test Cases. 

10. Can we integrate TOSCA with Jira?

Ans. Yes, Tosca has given Jira integration to facilitate collaboration between the development and testing teams. Tosca and Jira can be linked via Tosca Connect’s Tasktop Integration Hub. It is also possible to connect failed tests in Tosca to Jira bugs.

11. What are the different types of TOSCA objects?

Ans. TOSCA objects are the elements in a TOSCA model. There are four main types of TOSCA objects:

  1. Node type — A node type represents a component or artifact that can be part of an application. For example, you might use one node type to represent a compute instance and another node to represent an Amazon Simple Storage Service (Amazon S3) bucket.
  2. Interface type — An interface type defines how a node interacts with other nodes through operations, inputs, and outputs. For example, an interface type for a compute instance might define an operation for stopping the instance.
  3. Relationship type — A relationship type defines how nodes relate to each other; for example, the way in which a compute instance connects to a load balancer. Relationships are always between two nodes, but they can define multiple connections between different interfaces on those nodes.
  4. Data types — Data types define schema or structure information that can be used by other objects in the model.

12. Can you explain how to use the TOSCA recorder?

Ans. To work with the Recorder, follow the steps below:

  1. Start the Recorder: You can control the recording process and switch between the different recording modes with the Recorder menu.
  2. Create TestSteps by performing one or more of the following actions: Record controls, Verify controls, Create image-based TestSteps, Pause and resume the recording process, if necessary.
  3. Stop the recording and save the results.
  4. Work with the results of the recording.

13. Explain the difference between executing test cases in Scratchbook and Executionlist.

Ans. Scratchbook and Executionlist are used to run Test cases in TOSCA test suite.

Can be used for execution while constructing the test caseCan be used for execution once the test case is ready and you need to move it to the execution list
No logs are savedLogs are saved in the execution list

14. What is the model-based test technique in TOSCA?

Ans. Model-based testing is a type of software testing or system testing that uses model-based design to create and, in some cases, execute artefacts. Models can be used to represent a system under test’s (SUT) desired behaviour, as well as testing methodologies and a test environment.

15. How to identify objects in TOSCA?

Ans. Objects in TOSCA testsuite are identified by properties, anchor, images, and index.

16. What is a Data-driven framework?

Ans. Data-driven frameworks basically entails capabilities that ensure the direct and automated uptake of input values from the data files and the storage of those values in test scripts. It is helpful in enabling testers to construct both negative and positive test cases into a single test. 

17. What are the advantages of a Data-driven framework?

Ans. Two main advantages of a data-driven framework are as follows:

  1. Reduced cost of adding new tests and revising them with changing business rules.
  2. The framework helps to identify the important data for tested behavior.

18. What is a Keyword driven framework?

Ans. Keyword-driven testing is suitable for manual as well as automated software testing. This method separates the documentation of test cases – including both the data and functionality to use – from the prescription of the way the test cases are executed.

Wrapping it up

If you are a potential TOSCA certified engineer then it is good to read these interview tips. Interviewers ask so many questions related to the TOSCA architecture. Candidates should be very careful while answering the questions and should have clear concepts about TOSCA certification in their mind to answer those questions. Read this article to prepare the questions for the TOSCA interview.

Leave a Reply

Your email address will not be published. Required fields are marked *