Tosca Tutorial

Welcome to the Tricentis Tosca TestSuite tutorial. Testing an application is always necessary, whether it's automated testing or manual, it will increase the efficiency of your software application. Tosca TestSuite provides an easy solution to perform testing on your applications. In this tutorial, we will provide you with enough information on Tosca to get you started with this tool. So, without further ado, let's dive right into the tutorial.

What is Tosca, and why it's used?

Tricentis Tosca TestSuite is an end-to-end testing solution platform. We can perform functional and regression testing on software applications without using scripts. Tricentis Technology develops it along with Consulting GmbH based on LinearQ(m) methodology. Significant companies like Allianz, Toyota, Starbucks, BMW, HBO, Whole Foods, etc. are using this tool.

Using Tosca, we can perform multiple types of testing like GUI testing, CLI testing, mobile testing, API testing, BI and data warehouse testing, exploratory testing, etc. We can create efficient test cases, and the summarized report of those test cases can have shown in the form of reports. 

The main feature of Tosca is that it provides model-based testing. If any change has made to any element of the application, the change will be immediately reflected in the central model so that all the test cases associated with this application will test the updated app, thus removing ambiguity. 

Interested in learning Tosca ? Click here to learn Advanced Tosca Online Course from hkrtrainings Experts!

Advantages of Tosca

The key advantages of Tosca TestSuite are,

  • Scriptless automation
  • Model-based testing
  • Dynamic and synthetic test data creation
  • Supports multiple platforms
  • Easy to learn
  • User-friendly GUI
  • Drag and drop functionality 
  • Reusability of assets
  • Integration with JIRA, HP ALM, Selenium, etc
  • Reduces regression testing time
  • Manual testing is also available
  • Provides context-dependent query language called TQL (Tosca Query Language)

Components of Tosca

Tosca Testsuite package contains four components,

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

Tosca Commander

It is the main component that has considered as the backbone of Tosca. We can create, manage, and execute Modules, ExecutionLists, TestCases, etc. It imports the TestCases from the Test Repository and forwards them to the Test Executor. We can see all the elements in the form of a tree structure, i.e. in a hierarchical order, and it is designed based on Windows Explorer format.

Tosca Executor

It has used for executing tests on test objects. We can even perform exception handling by defining the desired reaction to possible errors for each TestCase execution. 

Tosca XScan

It has used for creating and scanning modules, i.e. it examines the screens of your application and generates them as modules. It collects all the information that is needed to identify and steer the test object and saves it to the ObjectMap of the Module.

Test Repository

We can create and manage test repositories with the help of an endpoint. We can create two types of repositories,

  • SQLite - import .db file
  • InMemory - deposit data to memory

Tosca Training

  • Master Your Craft
  • Lifetime LMS & Faculty Access
  • 24/7 online expert support
  • Real-world & Project-Based Learning

Installation of Tosca

As a prerequisite, the .Net framework and Microsoft Visual C++ should be installed on your system before installing Tosca. Tosca TestSuite 13.1 is the latest stable version that has released on February 19th, 2020. 

Go to and download the installer file. Double-click on the installer file to start the installation wizard.

First, it will show you the missing components that are required and prompt for the installation. If Microsoft Visual C++ is not installed, Tosca will automatically install it here. Keep on clicking 'Next'. 

If you do not want the Tosca to installed in the default directory, you will be able to change the directory. Click on 'Next' for the next prompts too. You will get a summary of all the options that have selected till now. If you want to change any features, you can change them here. Or else click on 'Install' to run the installation. You will be able to see the installation progress of each component. You can also see if the parts have been successfully installed or not. Once all the ingredients have installed, click on 'Finish' to complete the installation.

Top 30 Tosca interview questions & answers for 2020

Creating a new workspace

A workspace represents the working location of a user. We can create two types of workspaces,

  • Single user workspace - an individual user will have access
  • Multi-user workspace - multiple users will have access

Open the Tosca Commander. Select 'Project' from the menu and click on 'New'. A prompt screen will appear with fields required for creating a workspace. Give all the details like workspace name, workspace location, repository type, and name, etc. Click on 'Ok' to create the workspace. Once the new workspace has created, it will open automatically.

Subscribe to our youtube channel to get new updates..!

Creating Modules

To create a TestCase for an application, we must first develop modules. Modules are nothing but scanning the screens of the application. A module has created for each screen in your application.

In this tutorial, we will be looking at how we can perform testing on a web application. If you do not have a web application to test, you can use the sample web application provided by Tosca for performing automation tests.

Here is the link for the application -

In Tosca Commander, right-click on 'Modules' and select 'Create Folder'. Rename the folder to 'Test Modules'. Right-click on the 'Test Modules' folder and select 'Create Folder'. Rename the new folder to 'Web Application'. 

Open the homepage of your application. Right-click on the module folder that you recently created, i.e. 'Web Application'. Select the option 'Scan' and then select 'Application'. All the applications that are currently open will shown on the 'Select Application' screen. 

Choose the one that you want to perform the tests on and click on 'Scan'. A screen with 'Basic View' will open. A module with an automatic name related to your application screen will be created. We can change the name of the module, control the objects, and change their values by clicking on the fields on the webpage. Click on 'Finish Screen'. The scan results will be stored as a module. 

If any input fields need to fill to carry out the tests, that information should include in the test data. We will have an option to change the values too. Repeat the same process for all the screens in your application. So the number of screens equals the number of modules that are created. 

                                          If you have any doubts on Tosca, then get them clarified from Tosca Industry experts on our Tosca Community!  

Creating TestCases

Go to TestCases in Tosca Commander and create a new folder 'Web Application TestCases'. Right-click on the newly created folder and select 'Create TestCase'. The TestCase should start with the homepage of your application. We have to instruct the TestCase about the flow of the application.

Drag-drop the home module from the Modules window onto the TestCase that we have created earlier. This home module will add as the first TestStep, i.e. the TestCase execution starts with this TestStep. Drag and drop is the module that has your next scanned screen and adds it beneath the home TestStep. Aud the rest of the modules beneath the previous module as TestSteps here. The TestCase creation is done.

Tosca Training

Weekday / Weekend Batches

Executing TestCases

To execute a TestCase, we must add it to an ExecutionList. Click on the Execution tab in Tosca Commander. Right-click on the ExecutionList folder and select 'Create Folder'. Rename it to 'Test ExecutionList'. Right-click on the 'Test ExecutionList' folder and select 'Create ExecutionList'. Rename it to 'Web App ExecutionList'.

Drag and drop the TestCase that you have created recently onto the 'Web App ExecutionList'. It will create a link to the TestCase. Open your application in a browser and let it stay on the home page. Go back to the Tosca Commander, right-click on the 'Web App ExecutionList' and click on 'Run'.

Tosca starts executing the TestCase. It will begin testing your application which has opened in the browser. So do not perform any mouse clicks and keyboard inputs. Wait until the execution has completed. If the TestCase execution is successful, the green color will represent in the 'Login for' field.

Comparison between Tosca and TestComplete

Both Tricentis Tosca and SmartBear TestComplete are test automation tools. However, they have their differences when it comes to functioning and performance.

  • Tosca is easy to use and very easy to learn when compared with TestComplete
  • Tosca provides model-based test automation while the TestComplete is context-based
  • We can create BI based visualizations right in the tool using reports. TestComplete doesn't have the ability to generate visualizations
  • Tosca provides scriptless automation, so the testers don't have to worry about coding. TestComplete does require scripts to run tests. 

Find our upcoming Tosca Training Online Classes

  • Batch starts on 28th Oct 2021, Weekday batch

  • Batch starts on 1st Nov 2021, Weekday batch

  • Batch starts on 5th Nov 2021, Fast Track batch

Global Promotional Image


Request for more information


Python tutorial for beginners

5th April | 08:00 AM

150 Registered

Research Analyst
As a senior technical content writer for HRK tainings, srivalli patchava has a greater understanding of today's data-driven environment, which includes key aspects of data management and IT organizations. She manages the task of creating great content in the areas of software testing, DevOps, Robotic process automation. Connects with her on Linkedin and Twitter.