Flow-Level Validations

Apart from being able to define validations at the component level, you can also define validations at a flow level as follows:

  1. Navigate to the component in the flow.
  2. Right-click and select Edit Test Data from the context menu.
  3. On the Test Data page, click Pre Validations or Post Validations to specify validations that need to be performed either before sending the request or after the response is received from a Utilities application.

Note:

In addition to adding validations in the pre-validations section, function calls can be made to generate (randomization) test data and stored in variables. These variables can then be used to set test data against component elements.

The post validation section can be used to add functions that retrieve and store any values from the response that can be used further down the flow, as test data in other components.

Refer to Adding Test Data in a Flow in Creating Test Flows for more information.