Test Automation using TOSCA

Tricentis TOSCA is a software testing tool which is used to automate end-to-end testing for software applications. Developed by Tricentis, it supports a wide range of technologies ranging from API and UI to Web and Mobile.

In this blog, we will focus on TOSCA and its compatibility with SAP Applications.

In SAP environments, even a small change can have far-reaching effects, making testing vital. However, manual SAP software testing creates barriers as organizations tend to implement continuous delivery.

We had one such situation where we wanted to automate S&D (sales and distribution) module in SAP application, we started to analyze and look for different open source options to achieve this. But, we faced different problems with different tools:

 Selenium: When talking about automation of desktop application like SAP GUI, Selenium has failed to achieve this as it doesn’t have support for desktop applications.

 Sikuli: We tried automating with Sikuli, we were able to automate simple tests, but as this is an image-based approach it wasn’t much reliable in complex test cases.

When the open source option was not a good solution for the problem, we turned to paid software.

There are multiple paid tools in the market to automate SAP application, let’s have a look at the comparison of few leading tools:

Comparative analysis of TOSCA for automation over other tools like HPE QTP/UFT and Worksoft:

  Tricentis TOSCA HPE QTP/UFT Worksoft
Automation type Model-based Script-based Object-driven
Scripting required No Yes, VB Script Yes, Business-level
Ease of adoption Very high Average Average
Ease of maintenance Very high Average Average
Reusability of test artifacts and data Very high Average Average

Automation and Maintainability

  • Model-based tool: As TOSCA is model-based tool, Using TOSCA for SAP automation don’t need prior programming knowledge like needed for QTP and Worksoft etc.
  • Reusability of test artifacts and Data: The re-usability of script and module is high as compared to other tools with help of modules and reusable test step blocks. Also, it facilitates separate data sections known as Test case design section for complete separation of Data from Automation script.
  • Ease of adoption: As this tool doesn’t require any prior programming knowledge anyone can learn this quickly and become productive as quickly as possible.
  • Ease of maintenance: With the feature of data separation from scripts, maintenance is very easy task for persons working with TOSCA.
  • Test management and Automation in one too: As compared to other tools TOSCA provides test management and automation in a single package, which is the most desirable required for every automation perspective.
  • Tricentis TOSCA proved to be a perfect solution. It helps in automating business flows and accelerate continuous delivery, let’s have a look at its architecture diagram.

For all supported applications, TOSCA stores the elements and their identifiers in the form of modules in Modules section, this section plays the role of object repository. These modules are further extended to be used in test case section to create an automated test.

TOSCA provides a separate inbuilt package (Standard modules) for automating SAP applications, these standard modules are generic modules specially designed to interact and perform operations on SAP application. Usage of these modules is extremely simple, they can be used using a simple method such as “drag and drop” to create automated workflow quickly. Unlike programming, the user need not take any extra efforts to perform an operation in SAP, thus TOSCA saves automation time and users can focus on accelerating delivery.

TOSCA has its own Test data management which is under TestCaseDesign section, we can use a single test case for multiple sets of data using TestCaseDesign. Executions are maintained in the Execution section; historical results can be saved for every execution.

Conclusion: TOSCA is the best compatible tool for automating SAP applications, as it speeds up delivery and reduces automation efforts and helps achieve continuous testing process.

 



Leave a Reply