Example 2: Creating a Validation/Encoding Routine from the Custom Rules Wizard

If the validation/encoding routine that you want to create does not appear in the trace graph, you can create the routine by launching the Custom Rules Wizard from the Trace view.

About this task

This example will create the same validation routine that is created in Example 2: Creating a Validation/Encoding Routine from the Trace view - however, in this example, the routine will be created using the Custom Rules Wizard.

Procedure

  1. In the Trace view, click Launch the custom rules wizard to add a validation routine that is not on the trace graph on the toolbar.
    Note: You cannot create a validation routine from the Custom Rules Wizard when it is launched from the Custom Rules view.
  2. In the Select Validation/Encoding Routine page of the wizard, specify the location of the validation routine.

    For this example, select this routine:

    TestCase_IOT_Instance_Val_Encode.encode(java.lang.String):
    java.lang.String

    TestCase_IOT_Instance_Val_Encode.encode(java.lang.String): java.lang.String selected in the Select Validation/Encoding Routine page
  3. Complete the remaining sections of the wizard page with the same settings that were made in the Specify how to apply this validation routine dialog box in Example 2: Creating a Validation/Encoding Routine from the Trace view.
  4. Click Finish to add the validation routine to the database.