Add parameter sets

Use parameter sets to group parameters and apply the same configuration across your entire test suite. Apply parameter sets to test cases, playlists, folders and test cases within playlists. When you update a value in the parameter set, all linked items apply the new value. For an overview of all available parameter levels in Tosca Cloud, check out Parameters.

Before you start

Only administrators and contributors can create, edit, and remove parameter sets.

Create a parameter set

To create a new parameter set, follow these steps:

  1. Go to Configurations > Parameters and select the Parameter sets tab.

  2. Select Create parameter set.

  3. Enter a name for your parameter set and select Save.

The left panel lists all sets in your workspace. Select a set to view its parameters in the main panel. Use the search box to find a set by name.

Add parameters to a parameter set

To add a parameter to a parameter set, follow these steps:

  1. Go to Configurations > Parameters > Parameter sets and open the parameter set.

  2. Select Create new parameter.

  3. Enter the parameter details:

Field

Description

Parameter

The parameter name:

  • Custom parameter: Enter a custom, unique name.

  • Special task parameter: Enter the special task parameter name. For a list of all special task parameters, check out Supported parameters.

Value

The parameter value:

  • Custom parameter: Enter a value for your parameter.

  • Special task parameter: Enter the special task parameter value. For a list of all supported values, check out Supported parameters.

Data type

Select the data type that matches your value: String, Boolean, or Password.

  1. Select Save.

Rename, edit, or remove a parameter set

Go to Configurations > Parameters > Parameter sets and select the parameter set you want to change:

  • To rename the parameter set, select its name, enter a new name, and select Save.

  • To edit a parameter, select the parameter, make your changes, and select Save.

  • To remove the parameter set, select .

When you remove a parameter set, all linked test cases, playlists, and folders lose those parameter values.

Apply a parameter set

Add a parameter set to a test case to apply its parameters. To add a parameter set to a playlist, a folder or test case in a playlist, check out Add parameter sets..

Add a parameter set to a test case

To add a parameter set to a test case, follow these steps:

  1. Open the test case in the test case editor and open the Configurations side panel.

  2. In the Parameters tab, select New parameter > Add parameter set.

  3. Select the parameter set you want to add, then select Add.

The parameters from the set appear in the Parameters tab.

Override a parameter from a parameter set

If you need a different value for a specific parameter, override it:

  1. In the Parameters tab, expand the parameter set.

  2. Select the parameter you want to override.

  3. Enter a new value and select Save.

The parameter shows Inherited from parameter set (overridden) to indicate it uses a local value.

Remove a parameter set

Choose your use case:

Change the parameter set priority

If two parameter sets contain a parameter with the same name, the set higher in the list takes priority. Tosca Cloud disables that parameter in the other set.

To change the priority of a parameter set, select then select Move up or Move down to place it in the position you want in the list. The active parameter is editable. Disabled parameters appear grayed out.

What's next

Check out Parameters to understand how parameter sets interact with other parameters in Tosca Cloud.