Configure tests - Examples

You can configure your tests by using test configuration parameters to set values. For basic information on the creation of test case parameters and configurations refer to see chapter "About test configuration parameters".

Example: file paths

An example for test configuration parameters is the definition of program paths in various operating systems. If you want to execute a test using both Windows XP and Windows 7, then various program paths must be stored.

Procedure

  1. Create the test configuration parameter Progpath for TestCase Test 3 in the TestCases section. For further information on how to create a test configuration parameter, refer to chapter "Create test configuration parameters ".

Test configuration parameter in TestCase

  1. Use the syntax C:\{CP[Progpath]}\TRICENTIS in the TestStepValue to link this with the configuration parameter Progpath.

Example for test configuration parameter

  1. Use TestCase Test 3 to create ExecutionLists for every operating system in the ExecutionLists section.

The test configuration parameter is copied to the ExecutionLists.

  1. Define the paths of the respective operating systems as values for the test configuration parameters.

Configuration parameter in the ExecutionList