Adding Validations

The different ways in which you can add validations are:

  • Using the FUNCTIONCALL keyword in the component definition

    To validate the response, use the FUNCTIONCALL keyword to validate the content; in particular, the Xpath of response XML.

    Select the wSVALIDATELIB function library from the Object drop-down list. Select the function to be called from the Function Name drop-down list.

    For a complete reference of the validation function library, refer to Function Library Reference.

  • Using flow-level validations

    Validations can be added before and after a component step in a flow. The same flow can be reused with different or no validations before (pre-level validations) and after (post-level validations). The pre-validations can be used to determine if that component step needs to be run or skipped as part of the flow run, while the post validations can be used for validating the component step results.

    For more information about the flow-level validations, refer to the Flow-Level Validations section.