You are on page 1of 1

TestCase THREE

Exercise 10 - Business Parameters


Objective
By the end of this exercise, you will be able to create Business Parameters in the Library for use in TestCases.

Why is this important?


Business Parameters enhance Reusable TestStepBlocks, to allow the creation of Reusable TestStepBlocks from TestSteps even
when the TestStep contains values that need to be changed in different TestCases.

Key elements:

Business
Business
Parameter
Parameter
Container

Instructions

1. Duplicate TestCaseFolder “9 Self Defined TCP“ and rename it “10 Business Parameters”.
In the Library, navigate to the Folder “Precondition” and add three Business Parameters:
• Url
2.
• Email
• Password

3. Drag each Business Parameter and drop it into the relevant TestStepValue field to create a {PL} link.

In the TestCase, expand the Reusable TestStepBlock “Precondition_Reference” and enter the correct
4.
values for the Business Parameters:

Url http://demowebshop.tricentis.com
Email Registered Email address
Password Registered Password

5. Set the WorkState to “COMPLETED”

Hints
»» Remember, all previous TestCases will need to have the relevant Business Parameters entered in order to be run
successfully.

32

You might also like