Difference Handling Overview

Differences in PROIV Assure refer to any variations discovered during a Test Run between Recordings and the actual PROIV Session that the Recording is driving. For example, if a screen contains new fields that are not in the Recording's version of that screen, then a Difference is logged against the Recording (not the Test or the Suite). This Difference can then be handled by PROIV Assure. Differences can be due to a variety of reasons, some of which cannot be handled by PROIV Assure, e.g. major changes in the application that require new Recordings or software bugs that require fixing. Differences that can be managed by PROIV Assure are those that involve variable data (e.g. dates and user IDs), or when there has been a small modification to the application that changes some data, but does not necessitate a full re-recording (the latter situation can also be managed by Baselining).

The Difference Handling window enables you to maintain the Differences that you have previously handled against the Test Runs. It lists all of the Differences found against a Recording, and therefore acts a useful reference tool for you to view what Differences have been handled and how they have been handled.

In contrast, the Comparison Results window (in the Tests or Suites views) only displays the unhandled Differences for that Test Run, if the Differences have been handled, they are not displayed following a subsequent Test Run. However, you can view the handled Differences via the Handlers on the Comparison Results window. Click here to view a screenshot of the handled Differences in a Test Run.

Difference Handling rules are automatically applied to the multiple Tests or Suites that reference the Recording. There is also a facility to unhandle all of the Differences held against a Test or Suite. This is useful if you want to 'rollback' the handling for a group of Differences, if you decide that you do not want them managed in that way.

Note: Differences are stored against Recordings and not the Suites or Tests. Next time the Recordings are run, the Difference Rules are checked against any Differences found and if they met the rules, they are not reported as Differences.

Difference Handling rules can take one of the following formats:

Click here to view a list of Regular Expressions web resources.

All options (except Ignore) enable you to test your Regular Expression. For it to successfully handle the Difference it must match both the expected and actual values, otherwise the Regular Expression will fail.

Section links:

Maintaining the Difference Rules for a Recording explains how to modify Difference Rules held against Recording.

Handling Differences in a Test Run explains how to handle Differences in a Test Run.

Viewing the Location of a Difference explains how to view the actual location of a Difference in a Test Run (a read-only view of the comparison between the Run Recording and the original Recording, which enables you to quickly identify the nature of the difference).

Tests and Test Suite Overview provides an overview of how to create Tests and Suites and how to run Tests.

Regular Expressions Resources provides a list of internet resources, which may be of help in learning more about Regular Expressions.

Test Results Overview provides an overview of the Comparison Results window and explores the functionality that it offers. It is a very important area in PROIV Assure as it enables you to view and handle Differences for a selected Recording and for all the Differences in a Test or Suite, you can also view the Difference Handlers for a selected Recording and change Difference Handling if required, and also investigate the details of any Unused Rules for the selected Recording.

 

Comment on this topic

Topic ID: 780028