How to Set Run Conditions
The following steps describe how to set run conditions.
Note:
This task is part of a higher-level task. For details, see How to Create Business Process Tests and Flows.
-
Prerequisites
Verify that one of the following is true to use run conditions:
-
A component step uses at least one flow parameter or component parameter
-
There is at least one output parameter in a component that is located before the current component or flow
-
Input test parameters are defined
-
-
Add run conditions
In the Run Conditions dialog box, specify the criteria for the component or flow to run and click OK.
The Run Condition dialog box closes and the run condition is added to the component or flow. The condition is displayed in the Run Condition column of the Script pane in the Test Script tab (for both grid and canvas views).
For user interface details, see Run Conditions Dialog Box.
-
Test run conditions
Run the test set/test/flow and verify that the components and flows ran according to the defined run conditions.
For task details on running tests and flows manually and automatically, see How to Run Business Process Tests and Flows Manually and How to Run Automated Business Process Tests and Flows respectively.
Note: If a run condition is not valid, the run condition link is displayed in red. This can happen, for example, if a reference parameter was deleted, a parameter value was encrypted, and so on. Delete the run condition and define a new one.