You are on page 1of 1

Exercise 2 - TestCase Structure and Predefined Test Configuration Parameter

Objective
By the end of this exercise, you will be able to create a logical TestCase structure within Tosca and set a predefined Test
configuration parameter (TCP).

Why is this important?


A logical folder structure within your TestCase makes your work easier to create and maintain. Test configuration parameters
are used to apply specific values to various TestCases; defined for various object types. A common TCP is to set the browser
that Tosca is using to test.
Key elements:

Test
TestCase TestCaseFolder configuration
parameter
Instructions

1. Navigate to the TestCases section.


Create a TestCaseFolder named “TestCase 1”. Within this new Folder, create a Folder named “2 TestCase
2.
Structure and TCP”.

3. Within the TestCase 1 subfolder, create a TestCase named “Shipping Costs”.

Create the following TestStepFolders within the TestCase you just created:
• Precondition
• Order Product
• Start Checkout
4. • Checkout Process
• Verification of Prices
• Confirmation
• Verification of Success
• Postcondition
On the TestCase level create a Test configuration parameter named “Browser” with the value
5.
“InternetExplorer“.
6. On the “Details” tab on the TestCase level, change the TestCase WorkState from “PLANNED” to “IN_WORK”.

Hints
»» The folder structure follows the path taken through the application to order a product
»» Use the shortcut “Ctrl+N, Ctrl+F” to create a new folder
»» Use “Ctrl+,” to create a folder on the same level
»» Folder structures might change during the process of TestCase creation. Folders might need to be added or
deleted – this is normal

11

You might also like