introduction: 

Tosca test case templates are pre-defined structures that outline the general flow of test steps required for a particular testing scenario. These templates serve as blueprints for generating concrete test cases. They can be customized and filled with specific data to create individual test cases that meet the testing requirements. By using these templates, testers can ensure that all necessary test steps are included in the test cases, and any deviations from the expected behaviors can be identified and addressed. This helps to ensure that the software or application being tested is thoroughly evaluated and meets the desired quality standards. 

 

Technology used:

  1. Tricentis Tosca 2023.1.2 

Use cases. 

In many situation test engineers want to run the same test scenario with different data.  

For example: 

Scenario 1: a test engineer wants to create a test step for full P2P process once it’s created this test scenarios should run individually for different SKU’S at the same time for the different BU’S to make sure all the BU’S p2p is working well. 

 

Scenario 2: A test engineer wants to do multiple logs in / log out session using different credentials. 

 

Issue: 

The issue that we find out hear is we need to create or copy the multiple test cases which are all same in nature but only having a identical changes. In the historical way peoples use to give the hard code to make the template and copying the test cases in the template manually. 

Disadvantages of using historical way: 

  1. Time consuming 
  1. Need to do hard code. 
  1. New resource will not be able to understand the flow. 
  1. Small changes will also affect the test run. 
  1. If there is any change in the current test case template, the entire test case should recreate again. 
  1. Lots of data manipulation would be there. 

  

Solution:

Tosca Consultants offers a test case template option that is not only user-friendly but also provides a high level of flexibility. With this option, users can easily create and customize test cases according to their specific requirements. The feature is designed to simplify the testing process and improve the overall quality of the testing output. 

 

Process: 

  1. Creating a standard template for each case 
  1. Creating the data with the help of Test case Design module in Tosca 
  1. Entering the information inside the test case design  
  1. Attaching the test case design to test case template. 
  1. Initiating the template instantiation which will create a multiple test case using the template automatically. 

Example

 A test engineer wants to do multiple logs in / log out session using different credentials. 

  1. Create a single test case by scanning the Log in page and required felids Username/ password field’s)
  2.  . Create a test case design (nothing but creating data using rows and columns) 
  3.  Create multiple username and password. 
  4. Attach this test case design to test case template. 

Conclusion 

Using Trecentis Tosca makes the test engineers to automate many tasks not only the template but also many situations like working on IF conditions and loop conditions, verifying conditions etc. without any kind f hard code. 

Recent Posts

Start typing and press Enter to search