TOSCA stands for Topology and Orchestration Specification for Cloud Applications. If you want to start a career with Tosca, this tutorial will provide you with all of the information you need on the Tricentis TOSCA Automation Tool, from the basics to the advanced.
Today, it has become a compulsion for upgrading the software testing tools with the best features, thereby creating a friendly environment for the testers. Many software testing tools are available in the market, including QTP (UFT), Selenium, RTF, etc. There is a high demand in the IT industry for an efficient and high-quality service that requires minimum to no human effort.
This is where the need for automation testing arises. In short, an automation service is a service that automates the testing process without much human indulgence. Tosca, the modern automation testing tool, is now giving a formidable challenge to the available tools in the market.
Tosca is a platform that performs continuous testing and helps teams speed up with DevOps and Agile by speeding up testing. The limitations in the traditional testing methods have been rectified by Tosca by opting for cutting-edge functional testing technology. The objective of this tutorial is to provide an in-depth overview of TOSCA, a test automation tool for naive users.
This tutorial will teach you all about Tosca, what is it and why is it used? And also how the test cases are executed, Tosca Commander and Components, and how Tosca modules are installed and executed with the help of Tosca Executor.
Tosca Tutorial: Table of Content
Topology and Orchestration Specification for Cloud Applications (TOSCA) is a set of rules given by the industry group OASIS. Tosca has the ability to automate the functional and regression testing scenarios. It is also capable of mobile and API testing, which is mandatory for any product delivery in AGILE mode. Tosca supports scripts that need very little automation i.e., writing of scripts and coding is not required to automate any scenario. This makes it easy to learn about the tool and start developing test cases. Using this tool, the users can build efficient test cases in a serene way and detailed reports are provided to the management.
OASIS is a nonprofit association that sets the rules and regulations which can be supported by the vendors and most of the users on the cloud as well as the telecom market.
Automation testing is a service to automate the testing process and scenarios with reduced processing time and requires very little to no human effort. Tosca has challenged QTP (UFT), RFT, and Selenium which were leading the market.
Automation testing increases the coverage, effectiveness, and execution speed of software testing. It is preferred due to the following reasons:
Related Article - Tricentis Tosca Automation Tool |
The following are the advantages of Tosca:
The figure given below is the underlying Tricentis Tosca architecture:
The current version of the Tosca Testsuite comprises the following components:
The Tosca commander is the core backbone that is used to enable the test creation, execution, management, and analysis of test scripts efficiently. The commander utilizes the workspace for the administration of the test cases.
The elements in the Tosca commander are structured and are strictly placed in hierarchical order So that each operation is performed using the object hierarchy.
With the help of the drag and drop feature, the user can move the elements within the application. The docking function allows the user to arrange the layout as per the requirement.
The Tosca commander forwards the test cases to the Tosca Executor that runs the test cases on the test object. The test object includes a series of continuous screens directed by using automated tests.
Tosca Xscan is used to scan the screens, and their input fields and saves the information as modules in Tosca Commander. These modules include technical information that is used to identify and direct screen elements.
It is also known as the Tosca wizard.
For example in the manufacturing industry, the vehicle data will contain the details of the vehicle as in the figure below.
If you would like to enrich your career and become an Automation Testing Engineer, then enrol for "Tosca Training" This course will help you to achieve excellence in this domain |
If the Tosca Commander operates in multi-user mode, the standard repositories are used to manage projects in databases.
The following types of repositories are available for multi-user environments:
The installation of Tricentis Tosca on your system is explained in a step by step procedure, right from creating a user account to successfully installing the product.
A list of all the parameters is displayed in the next window that must be entered to create the workspace. After 3 seconds, this window will close automatically or can be closed manually by clicking the Close button.
To create a custom module a custom Keywordhandler is needed.
4. The name of the module can be chosen freely.
5. Add an object map to the newly created module by selecting "Create->ObjectMap" on the module's context menu.
6. Set the screen type on the object map as defined in the ObjectMappings.dat file.
7. Add the parameter "Keyword" to the object map.
This parameter is passed to the ExecuteKeyword() method and can be accessed as follows.
To create a new TestCase, follow the steps below:
3. Create your new TestCase. To do so, right-click a TestCase folder and select Create TestCase from the mini toolbar.
Checkout Tosca Interview Questions |
Tricentis Tosca allows you to compile and run all finished TestCases in ExecutionLists. An ExecutionEntry is displayed for each TestCase. The outcomes of the execution, and also their history, are automatically saved to a log file (ActualLog).
The Scratchbook method can be used to run individual TestSteps separately or check TestCases that are yet completed.
You can use the dynamic menu ExecutionLists to create a folder by left-clicking on the ExecutionList folder and selecting Create Folder.
You can construct ExecutionEntries in Tricentis Tosca by dragging and dropping TestCases into ExecutionLists.
You can select Create Object from the dynamic menu ExecutionLists by left-clicking on the ExecutionList folder.
The ExecutionEntry Automobile is automatically created and linked to the associated TestCase.
The sample application must display the start screen for the TestCase to run successfully.
You can also select Run from the dynamic menu ExecutionLists by left-clicking on the ExecutionList.
Tricentis Tosca begins the TestCase execution. Once we are done with the Test Case creation with the Tosca Commander TestCases section, we will follow the below mentioned approaches for further proceedings:
Tricentis advises using the ScratchBook for a dry run (to check the test case readiness) only, as the results do not store for future reference. We also could perform the execution of individual TestSteps.
The Execution segment provides a feature of selecting and preparing multiple TestCases for execution. Execution performed in ExecutionList will be available for further future reference.
Step-by-step procedure to prepare and run test cases from the Execution Section:
Step1# Create Execution List Folder in the Executions section by selecting the “Create Execution List Folder” icon after right-clicking on any folder.
Step2# Similarly, we need to create our execution List component under the newly created execution list folder.
Step3# We can add the test cases to the execution list from the TestCases section by the drag-drop method.
Step4# Now, we need to configure the execution behaviour, such as the screen capture mechanism. For our learning purpose, we have enabled Take screenshots of TestStepValues and DockuSnapper.
Step5# Now, we can execute the one, multiple, or entire test cases based on the selection. We execute the test case by pressing the F6 key or clicking on the run button after right-clicking on the selected test cases/ execution list.
Step6# Understand and process your test results. The execution log is shown with a highlighted screenshot path.
With speedy testing of applications, it becomes easy for organizations for faster release of products. Automated testing tools are popular because of their effective testing efficiency. With the Tosca automation tool, it is easy to free up manual testing work and reduce testing time and also speed up the delivery rates. With the help of this tutorial, you can advance your career with Tosca. The domain of automation and testing has a huge demand for trained testers to get along with the latest technology upgrades. Tricentis Tosca certification offers better career opportunities.
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
Tosca Training | Nov 26 to Dec 11 | View Details |
Tosca Training | Nov 30 to Dec 15 | View Details |
Tosca Training | Dec 03 to Dec 18 | View Details |
Tosca Training | Dec 07 to Dec 22 | View Details |
Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .