Software Training Institute


Tosca Interview Questions

50+ Tosca Interview Questions and Answers for Experienced and beginners.

Tosca Interview Questions and Answers for experienced

Tosca Interview Questions and Answers

These interview questions and answers of Tosca work for both freshers and experienced candidates of 2 years, 3 years, and 4 years too.

A few of these are gathered from Tosca interview questions asked by top MNC companies like Infosys, Wipro, Accenture, Deloitte, Capgemini, and more.

1. What is Tosca?

Tosca is one of the popular continuous testing platforms developed by Tricentis. It accelerates testing with a no-code approach and is scriptless for end-to-end automation. 

This tool is used for both functional and regression testing. In addition to the automation functions it offers, it also supports a graphical user interface, application programming interface, and command-line interface. 

It helps you to:

  • Deliver fast feedback for DevOps and Agile
  • Decreases regression testing time
  • Maximizes maintainability and reusability
  • Integrates and extends existing test assets

2. What are the features of Tricentis Tosca?

Tosca’s easy-to-use features make it popular with testers in the automotive, metal and mining, financial, and education industries. Tosca has the following important features: 

  • Scriptless test automation is possible using the drag-and-drop feature of modules, which simplifies software development.
  • Execution is fast and Continuous Testing is available to support DevOps.
  • Supports module-based test development where a model of the application under test (AUT) is created instead of scripts. A model can be used to represent the intended behavior of an AUT, as well as the testing strategy and the test environment.
  • Supports risk-based testing to suggest the best test cases and calculate the risk contributions of each test case.
  • Using it, business users can record their daily activities and then convert them into automated test cases, thereby eliminating the need for manual tests.
  • Maintenance effort is minimal.
  • Improve test stability and efficiency with a codeless approach to API testing.
  • Test faster and more effectively by running multiple tests simultaneously across distributed infrastructures and virtual machines.
  • Possible to automate both UI (User Interface) and non-UI applications like XML (Extensible Markup Language), SOAP (Simple Object Access Protocol), mainframe, etc.

3. What are the main components of Tosca?

The major components available in Tosca are:

  • Tosca Commander.
  • Tosca Executor.
  • Tosca XScan (Tosca Wizard)
  • Test Repository.

4. What are the advantages of using Tosca?

The advantages of using the Tosca test suite are listed below:

  • Multiple Features in One Tool
  • Scriptless automation
  • Suitable for large-scale operations
  • Test management
  • Mass updates
  • Reusability of assets
  • Supports Multiple Platforms
  • Quality Vendor Support
  • Easy-to-use Interface
  • Model-based automation

5. How to run Tests using ExecutionLists?

ExecutionLists in Tosca can be executed either by pressing the F6 key in the execution section or by selecting the Run option from the context menu.

Select the ExecutionLists of your choice using Ctrl + left mouse button to run more than one ExecutionList. Check test object is already started before you run the ExecutionLists.

Learn Tosca From Our Expert Trainer

6. What are the ways to run tests in the ScratchBook?

The ScratchBook allows you to perform trial runs for your test cases. Objects like TestCases/TestCase folders and TestSteps can be run on this. The following options are available to run tests in the ScratchBook:

  • Run your objects immediately.
  • Add or arrange objects in the ScratchBook and then run them

7. What are different types of errors that are available in Tosca?

The following types of errors can occur during Tosca execution:  

  • Verification-Failure: A failure that occurs when expectations and actual results do not match for the verification step.
  • User Abort: This occurs when the tester stops the execution.
  • Dialog-Failure: This is the result of some unhandled exceptions or steps. This error occurs when the application attempts to steer either a control that does not exist or is not in operation. Crashing or jamming applications (i.e., not responding) fall under this category too.

8. Explain how to run/execute tests using Tosca Execution Lists?

An ExecutionList is used to store completed test cases and run them all at once. The following ways can be followed in Tosca for executing ExecutionList:  

  • Choose the Run option from Tosca Commander’s context menu or press the F6 key under the Execution section.
  • Simply right-click on each selected test case and select “Run”.
  • Use Ctrl + left mouse button to select multiple ExecutionLists and run.

9. What is TDS (Test Data Service) Tosca?

TDS (Test Data Service) is used in Tosca to manage test data in distributed environments. It enables us to store dynamic test data in a shared location, making it easy for test cases to read/update. 

Data stored in a shared location can be shared across multiple test cases since it is stored in a shared location. 

Additionally, it can be updated without opening Tosca, since it’s considered a separate component. It enables you to manage your test data in distributed environments.

10. Explain String Operation in Tosca Testsuite.

String operations can be used in Tosca to verify or modify strings through regular expressions. For instance, it can include counting specific characters and words in a statement, replacing a word with another, or checking the format of a number. 

To perform String operations, you should download and import the AidPack module into your project. 


For instance, we are searching for the character ” – “, which should be replaced by the following character ” / “. If the operation Global is selected, then “/ ” is included wherever ” – ” occurs. In the following example, the ” – ” character in 8-May-2012 is replaced by the ” / ”.

Want to download these Tosca Interview Questions and Answers in the form of a readable and printable PDF for your interview preparation? 

Click the download button below for the PDF version

Learn Tosca From Our Expert Trainer

11. Explain the types of errors available in Tosca?

Mainly, there are three types of errors in Tosca.

  • Verification-Failure: This occurs when verification does not provide the expected results. In simple words, the value expected by the test case specification does not match the value given by the test object.
  • User Abort: Abort of the test execution by the user.
  • Dialog-Failure: The application wants to get control of either that doesn’t exist or is not in an operational state.

12. How will you fetch data from Excel using Tosca?

This can be done in two ways:

  • For a single test scenario that has to be tested on various datasets, Tosca provides a feature of TemplateInstances to create any number of test cases from your data set to import your excel data and embed it in Test Case steps.
  • To import data from an external source, you can use Excel Engine.

13. Explain how you can use multiple browsers within the same test case?

We need to automate a test case spanning various applications that run on multiple browsers. Using buffers,  change the Test Configuration Parameters at Run-Time by the following steps.

  1.  Change the Value of Test Configuration Parameter to {B[Browser]} or any other Buffer Name you prefer
  2.  Use a TBOX Set Buffer to specify which Browser needs to be used

14. Explain about TC-Shell?

TC-Shell is the command-line control of the Tosca commander. It can be started in two different modes using script and interactive.

  • The script mode allows Shell to work with a set of commands from the script data file. This mode is suitable for automation processes. The user cannot intervene with any section in this process.

In interactive mode, the user will be provided with a set of options and assistance. Users can use the complete range of functions of the GUI version in Tosca commander.

15. How do you create a test sheet in Tosca?

As part of the TestCase-Design process, TestSheets are used as the main framework. The purpose of TestSheets is to organize/manage test data to follow a logical testing process. 

A test sheet should cover each requirement of the application. Below are the steps for creating a TestSheet: 

  • Step 1: To begin with, right-click on the folder where you’d like to create a test sheet.
  • Step 2: From the mini toolbar, select Create TestSheet.
  • Step 3: Specify the name of your test sheet.

Learn Tosca From Our Expert Trainer

16. What does XL reference contain in Tosca?

TestCases may sometimes need access to the name of a TestCase / Instance, such as when storing data in TestDataService, and this can be acquired with {XL[Instance.Name]} or {XL[Instance]}. 

You must work with a TestCase template and a TestSheet to gain access to the name of a TestCase / Instance. When you want to mention the name of the TestCase in the TestCase template, use XL-reference [XL[Instance. Name]] or [XL[Instance]].

17. What are web services in Tosca?

The Tosca Webservice Engine 3.0 utilizes web protocols like HTTP (Hypertext Transfer Protocol) to manage/control web services. It is also possible to manage/control web services using REST (Representational State Transfer) and SOAP (Simple Object Access Protocol). 

The Tosca Web Service Engine 3.0 is installed automatically during the standard installation of Tosca. In the System Requirements, you can find an overview of the prerequisites for using Tosca Web Service Engine 3.0. 

The following Standard subset modules must be imported to be able to work with Web Service Engine 3.0:

  • TBox XEngines->Parameter Data
  • TBox XEngines->API

18. Explain the importance of Tosca API Scan.

API Scan by Tosca provides developers with a no-code solution that will make it easy to create, manage, and execute automated API tests. Test cases can be created for API testing and scenarios can be created for Tosca.

Orchestrated Service Virtualization with API Scan. In simple words, automating and designing API test cases are possible via API Scan. You can accomplish the following tasks with API Scan:

  • Develop test cases and modules.
  • Sync with the API Connection Manager
  • Ensure seamless integration of API and Tosca Orchestrated Service Virtualization (OSV).

19. What are different business parameters in Tosca?

The reusable TestStepBlock usually consists of TestSteps that can be reused in several TestCases, meaning you don’t have to rewrite as much code. In Reusable TestStepBlocks, business parameters display an overview of crucial business information. 

Business parameters can be used to set or pass dynamic values in test step blocks. You can create it simply by right-clicking on Reusable TestStep Block and choosing business parameters from the context menu. 

Business parameters can also be manually defined within the module in the following ways:  

  • XML elements and attributes in the Payload tab.
  • JSON data in the Payload tab.
  • Headers in the Headers list.
  • Parameters in the Params tab.
  • Transport information in requests.
  • Response time and Status code and in responses.

20. What do you mean by Synchronization in Tosca?

Tosca’s synchronization functionality allows automated test cases to be executed by the application speed using processes and events. Synchronization is when the automation tool speed synchronizes with the application speed. 

You can achieve sync in Tosca using ActionMode Walton. Synchronization settings can be modified via the settings – “Go to settings->TBox->synchronization”

Want to download these Tosca Interview Questions and Answers in the form of a readable and printable PDF for your interview preparation? 

Click the download button below for the PDF version

Learn Tosca From Our Expert Trainer

21. What is the test configuration parameter in Tosca?

To configure your tests, you can set configuration values through test configuration parameters. The test configuration parameters give you the ability to set parameters for Tosca objects. 

You can simplify the maintenance of your tests and reduce repetitive tasks by setting specific values to test configuration parameters. For example:  

  • Versions of test objects, such as release numbers.
  • Various test environment identifiers, for instance, Windows 7.
  • Connection identifiers, such as URLs and parameters.
  • Identifiers of business process chains.

Test configuration parameters can be created for the following Tricentis Tosca objects:

  • Project root element
  • ExecutionList
  • Component folder
  • ExecutionEntry folder
  • Configuration’s folder
  • ExecutionEntry
  • TestCase folder
  • Scratchbook
  • TestCase
  • TestCase-Design folder
  • ExecutionList folder

22. What do you mean by Tosca Template?

In Tosca, templates are structured/conventional formats that can be reused to create concrete TestCases. It is possible to convert test cases that have very similar steps into templates so that they can be used for a variety of data combinations. 

Data from test data sheets are used in the template. When you instantiate a template, you convert a single test case template into several test cases using the test data that you supply as input to the template.

23. How can you create TestCase templates manually?

We can create the TestCase templates using the provided modules of Tosca BI Modules And Samples. the subset.

Perform the following steps to create and use your TestCase templates:

  1. Create a TestCase according to your needs.
  2. Right-click on the TestCase and select the option Convert to Template from the context menu to convert the TestCase to a Template.
  3. Drag the appropriate TestSheet and drop it onto your TestCase Template.
  4. Use XL paths to manually assign the TestSheet values to the required TestStepValues Instantiate the Test Case Template

24. How to instantiate TestCases with Excel?

Instantiating means changing one template test case into multiple test cases based on the test data which is supplied to a template.

Perform the following steps to instantiate TestCases with excel:

  1. The TestCase to be instantiated must be considered as a template.
  2. The values which need to be transferred from the template (parameters) must be linked by specified syntax with attributes of the template.
  3. Choose Create TemplateInstance from the context menu of the TestCase template.
  4. The Excel file with the corresponding spreadsheet must be specified in the subsequent dialog. 
  5. Confirm your inputs by clicking on the OK button.
  6. Click on Yes in the subsequent dialog, and the instantiation process will start.

25. Which looping statements are available in Tosca?

To run TestSteps with branches, Tosca supports IF, DO and WHILE Statements.

Learn Tosca From Our Expert Trainer

26. In Tosca Testsuite, how can you identify objects?

In Tosca, objects can be identified in four different ways as listed below: 

  • Identify by properties: By default, Tosca XScan identifies objects by their properties. All technical information and the properties of an object can be found in the Identify by Properties window.
  • Identify by Anchor: The technical properties of objects can be used in Tricentis Tosca to identify other objects.
  • Identify by image: Tosca can identify objects by capturing a screenshot of the object.
  • Identify by index: In this case, the object is identified by its index. If an object selected does not have a unique ID, you can specify an index to be used to identify the object at test execution.

27. What do you mean by Tosca Query Language?

The Tosca Query Language (TQL) is a powerful way to search within your project. The tool gives you the ability to perform search queries on your project through objects, object relations, and object properties to find/search for anything you need. 

Simply type your query into a language the computer understands and the system will do the rest. It gives you the ability to take control of a project at any time. In its most basic form, this is similar to SQL, which enables us to search based on conditions. 

Example: Suppose the diagram below represents our current situation, in which we want to search for all TestCases with the name Data Source Excel in the TestCases folder.


=>SUBPARTS:TestCase[Name==”Data Source Excel”]

28. How can we compare pdf files using Tosca?

TC PDF Compare is the standard module offered by Tosca for comparing PDF files. This TC PDF Compare feature from Tosca Exchange Portal allows the comparison of two PDF files.

After the test is executed, any differences found appear in the ExecutionLog. 

29. Explain the importance of Rescan in Tosca?

In Tosca Rescan, the module that has already been scanned is scanned again. Assume you have already scanned the page, but there have been a few changes and two new fields have been added which you need to include in your test case. 

For the two fields to appear in your scanned modules and your test case, you need to rescan your module.

30. Explain TDM (Test Data Management).

As its name implies, Test Data Management involves managing test data necessary for the execution of TestCases. In addition to viewing all records within your test data repository, it allows you to modify and/or delete selected ones. 

During Tricentis Tosca Server setup, it is automatically installed as part of the Test Data Service component. 

It combines Test Data Service (TDS) and test data management to allow teams to design, locate, manage, and provide test data, even in complex and hard-to-manage scenarios. 

Want to download these Tosca Interview Questions and Answers in the form of a readable and printable PDF for your interview preparation? 

Click the download button below for the PDF version

Learn Tosca From Our Expert Trainer

31. What is the recovery scenario in Tosca? What happens if it fails?

As its name implies, recovery scenarios are used to recover from the failure of a test case/test step. During test execution, if for some reason your test case fails (this could be any reason), the Recovery scenario ensures that the next test case after that failed test case will proceed normally. 

This will ensure that the following test case runs correctly, without any impact from the previous test case. There are two conditions in which recovery is possible i.e., dialog failure and verification failure. 

When a recovery scenario fails, Tosca then tries the next higher-level recovery scenario, and if all recovery scenarios fail, it reports the test case as failed. 

32. Write down the steps to perform Tosca Connect and HP ALM (Application LifeCycle Management) Integration.

To integrate Tosca Connect with HP ALM, follow these steps: 

  • Download and install ALM Rest API.
  • Install Tasktop on a test system using a license key.
  • Synchronize test cases from Tosca to HP ALM’s Test Plan Module.
  • Sync Tosca execution lists with HP ALM’s test lab modules.
  • Sync Tosca execution entry and latest test results with HP ALM’s Test Lab/Test Run modules.

33. Explain how you will check whether a file exists or not in a specific directory in Tosca.

Tosca allows us to verify a file’s existence in any directory by using the TBox File Existence. It includes the following attributes:  

  • Directory: The location of the file to be verified.
  • File: Name of the file that needs to be verified.

34.Describe the organizational units of the testing procedures in Tricentis Tosca?

Ans: The automated testing in TOSCA contains the below organizational units.

  1. Planning.
  2. Specification.
  3. Execution.
  4. Logging.
  5. Analysis.

35. How to check the existence of a file in Tosca?

With the help of the standard module “TBox File Existence,” we can verify the existence of any specified file. This module has below attributes –

  1. Directory – The location of the test file.

2. File -Name of the test file.

Learn Tosca From Our Expert Trainer

36. How many types of logs are available in Tosca?

 Two types of logs are available in Tosca after the test execution. Those are:

  1. ActualLog: It keeps the latest execution results and the execution history. 
  2. ExecutionLog: By selecting the option “Archive actual ExecutionLog”, this type of log is generated.

37. What is BDD in TOSCA?

BDD stands for Behavior Driven Development which follows an agile methodology grounded software development process. The process works as per the Test Driven Development.

BDD does not generate workable test cases but workable documentation. Here, the actions and behavior are explained as texts. This permits them to be tested as workable documentation. Requirements are depicted as user stories.

38. What is the purpose of ActionMode Constraint?

The ActionMode value “Constraint” is used to search for the specified values. For example – we can search a specific column value in a table with the help of “Constraint” easily.

39. What is Damage class?

This class is used to calculate the damage values for any specific events. This is calculated based on damages in terms of cost. The range of these values is between 0 to 10 (min to max).

40. What is Frequency class?

This class is used to calculate the damage values for any specific events. This is calculated based on damage quantity in terms of frequency. The range of these values is between 0 to 10 (min to max).

Want to download these Tosca Interview Questions and Answers in the form of a readable and printable PDF for your interview preparation? 

Click the download button below for the PDF version

Learn Tosca From Our Expert Trainer

41. Is API Testing possible with Tosca?

Yes, Tosca supports API Testing. The API Scan is used to scan and create the modules for the corresponding APIs. Using the API modules we can send the request and receive the response for the API call.

42. What are the steps required in Object Steering in Tosca?

There are two steps involved in Object Steering:

  1. Object access.
  2. Object steering.

43. Explain the steps that create test cases through ARA?

The process steps are –

  • Record any scenario using ARA Wizard.
  • Add verification points during recording and perform clean-up on the recorded scenario.
  • Export the recording.
  • Import recording in Tosca.
  • Execute test cases that are auto-created during recording.

44. Specify the different approaches for object identification in Tosca?

The different approaches to steer the controls during the scanning, for any test objects are mentioned below-

  1. Identify by properties
  2. Identify by Anchor
  3. Identify by index
  4. Identify by image

45. What is DokuSnapper in Tosca?

The DokuSnapper function enables an archive of the progress of automated tests in a document. Tosca creates a Microsoft Word document for every test script upon each execution. 

The document name consists of the test script name and the timestamp of the execution time. 

Users can enable Dokusnapper from Settings 

Configure options and settings > Settings Dialog > Settings – Engine > Settings – DokuSnapper

Learn Tosca From Our Expert Trainer

46.Explain the limitations of ARA?

The limitations of ARA are –

  • Compatible with Tosca 13.1 & above
  • Linear recording
  • License required for standalone installation
  • Duplicate modules get created in multiple recordings
  • Challenging to modify existing tests
  • Yet to be compatible with Android/iOS

47. What is Vision AI in Tosca?

It is going to be an advanced test automation approach to automate the test cases irrespective of the technology of the test application. 

This approach will be made with the help of the artificial intelligence (AI) concept while recognizing the objects through TOSCA AI Scan. Based on looks and appearances, the objects are getting identified using AI features.

48. From which version the Vision AI is available?

Tricentis Tosca has introduced these features from Version 14.x.

49. How does Tosca identify objects using AI Engine?

The Tosca AI engine considers the below aspects to steer test objects –

  • The appearance and the position of the test objects.
  • Look and feel includes color, size, etc.
  • The attached labels of the test objects.

50. What will happen for the existing tests which are developed through AI Engine after changing the technology, keeping the same UI?

There will be no impact on the existing test cases which are developed with an AI engine. The reason is that the AI engine does not consider the technology of the application.

51. Specify the different object identification methods used by Tosca AI Engine?

The Tosca AI engine follows the below identification methods –

  • Identify by Properties – The properties available are based on their appearances.
  • Identify by Index – Based on the repetitions of the same kind of objects.

Want to download these Tosca Interview Questions and Answers in the form of a readable and printable PDF for your interview preparation? 

Click the download button below for the PDF version

Learn Tosca From Our Expert Trainer

Other Related Topics Interview Questions