About smart matching

Smart matching enhances recording reliability by enabling QA Wizard Pro to update window and control properties used as search criteria in the application repository to differentiate them from new windows and controls captured during recording. Smart matching is also used during playback to locate controls and recommend better search criteria if QA Wizard Pro cannot determine the difference between two or more controls.

Note: Smart matching is currently only available for web scripts.

Recording

After you record a script, the Repository Changes dialog box opens and allows you to review the windows and controls that will be added or modified in the application repository. Smart matching, which is enabled by default for web scripts, allows QA Wizard Pro to compare existing repository controls against the new controls.

If QA Wizard Pro determines the properties selected as search criteria for existing controls do not differentiate them enough from new controls captured during recording, different search criteria is selected to make the controls unique. This can help prevent incorrect merging of two similar controls into one control in the repository and prevent adding the same control to the repository multiple times. See Reviewing and saving repository changes.

Playback

During playback, QA Wizard Pro attempts to find controls that match the control properties selected as search criteria in the application repository. If more than one matching control is found or the control is not found, QA Wizard Pro uses smart matching to try to locate the control.

If smart matching cannot locate the control, the process of using search criteria followed by smart matching repeats until the control is found or the control search timeout limit is reached.

If smart matching locates the control, a warning in the Errors pane indicates the control the action was performed on and includes a 'Review recommended repository changes' link. You can click this link to open the Repository Changes dialog box, which displays the recommended repository changes. You can review the changes and save them to update the repository. The next time you run the script, QA Wizard Pro should be able to uniquely identify the control. See Reviewing and saving repository changes.

Disabling smart matching

Smart matching is enabled on all controls by default. You can disable smart matching on the Advanced tab in the control Properties dialog box. If you disable smart matching on a control, only the search criteria are used to locate the control during recording and playback.

You should only disable smart matching for controls if: