Maintaining the Difference Rules for a Recording

To set up and maintain rules for Difference Handling, which can be applied to all Tests that use the selected Recording, follow these steps:

  1. Click Recordings tab to open the Recordings view.

  2. Click on the Maintain the difference rules for a recording Difference Handling icon.
    The Difference Handling window appears.

Fields on the Difference Handling window:

Item

Description

Recording Name

Displays the name of the Recording.

Column Headings

 

Step

Displays the Step number and appropriate icon.

Difference

Displays the details of the Difference.

Ignore

If the Rule is set up to ignore the Difference, a Y appears in the column.

Rule Applied

Displays details of the applied Rule.

Buttons

 

Details

Click Details to open the Comparison Results window, where you can amend the handling if required.

Unhandle All

Click Unhandle All to unhandle all of the Differences held against the selected Recording. This is useful if you want to remove the handling on variations in bulk. The status icons are removed against the Differences and you can choose to handle the Differences again if you require.

OK

Click OK to close the Difference Handling window.

  1. Select the appropriate Difference and click the Details.
    The Comparison Details window appears.

  2. Select an option from the Options radio group.

  3. Handle the Difference as appropriate using following fields.

Fields on the Comparison Details window:

Item

Description

Difference

Displays the details of the Difference.

Options

Select an appropriate handling option from the radio group.

Unhandled

Select when you want to remove the handling on the Difference.

Ignore

Select to ignore the Difference, it is not reported regardless of the value.

RegEx

Select to use a Regular Expression to handle the Difference.

Saved Rule

Select a Saved Rule. Only appropriate rules that match the Difference are offered in the Rule drop-down list.

AdHoc Rule

Select to create an Ad Hoc Rule based on PROIV standards (e.g. DATE, TIME etc.) and to generate a Regular Expression based on the selected rule.

Match to Regular Expression

Field appears when the RegEx handling option is selected. Enter a Regular Expression in the Match to Regular Expression field.

You could for example, handle an original value of "1234" against an actual value of "5678" in a variety of ways, you could create a Regular Expression which matches:

 

  • Only 1234 and 5678

  • Matches numbers between 1234 and 5678

  • Matches any 4-figure numbers

  • Matches any 4-character strings

  • Matches any numbers

A250 - Non-Mandatory

Saved Rule Regular Expression

Field appears when the Saved Rule handling option is selected. Select an appropriate Saved Rule from the Rule drop-down list.

Generate Regular Expression

Field appears when the AdHoc Rule handling option is selected. Displays the Regular Expression which is based on the selected rule.

Rule

Field appears when the Saved Rule handling option is selected. Select an appropriate Saved Rule to apply to the Difference. Only relevant rules which handle the Difference are displayed in the drop-down list.

Select one of the following rules from the drop-down list:

  • Empty - detects the condition where the text is empty and contains no printable characters.

  • DATE, DATE4, CDATE, TIME, AlphaPIC, NumericPIC, Numeric - for more information, refer to the PROIV Online Documentation, in particular Help Topic IDs: 520028, 520100, 520094, and 520018.

A32 - Non-Mandatory

Locale

Field appears when the AdHoc Rule handling option is selected, and the field is enabled when the DATE, DATE4 and CDATE rules are selected. You can select the date format for the rule based on one of these locales: Any, USA, Europe or Japan.

Ignore Case

Field appears when the AdHoc Rule handling option is selected, and the field is enabled when the AlphaPIC rules is selected. Select the check box to ignore the case in the rule and accept upper case, lower case and mixed case.

Mask

Field appears when the AdHoc Rule handling option is selected, and the field is enabled when the CDATE, AlphaPIC, and NumericPIC rules are selected. Enter an appropriate mask to apply to the rule. For more information about masks, refer to the PROIV Online Documentation, in particular Help Topic IDs: 520028, 520100, 520094 and 520018.

A32 - Non-Mandatory

Test RegEx

Click Test RegEx to test the Regular Expression. It must match both the actual and expected values.

OK

Click OK to save the Difference Handling details and to close the Comparison Details window.

Cancel

Click Cancel to cancel the Difference Handling process and to close the Comparison Details window.

  1. Click OK to save the Difference Handling details and to close the Comparison Details window.

  2. Click OK to close the Difference Handling window.

Comment on this topic

Topic ID: 780030