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
- 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.
- 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
- 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.
-
Click Finish to save and share the validation routine.