Advanced Settings Dialog Box (Bitmap Checkpoints Dialog Box)
Relevant for: GUI tests and components
This dialog box enables you to define advanced settings for a bitmap checkpoint, in order to fine-tune the comparison that UFT One performs when running the checkpoint.
To access |
In the Configure checkpoint details, click Advanced settings beneath the bitmap display area (available for keyword components only in Advanced Mode). |
Option |
Description |
---|---|
Tolerance
Relevant only when the Compare selection with runtime bitmap option is selected. |
|
RGB tolerance |
Enables you to define the percent by which the RGB values of the pixels in the runtime bitmap can differ from those of the expected bitmap and allow the checkpoint to pass. Available only for bitmaps with a color depth of 24 bits. |
Pixel tolerance |
Enables you to define the number or percentage of pixels in the runtime bitmap that can differ from those in the expected bitmap and allow the checkpoint to pass. Select either the Percent or Pixels radio button, and set the relevant value. If you switch between the Percent and Pixels radio buttons after entering the tolerance value, the value is recalculated based on your selection. (100% is the total number of pixels in the expected bitmap or selected area.) |
Similarity
Relevant only when the Locate selection within runtime bitmap or Locate image within runtime bitmap (load image file) option is selected. |
|
At least |
Enables you to determine the amount of differences in pixels between the specified bitmap that you are locating and the runtime bitmap that can occur and still allow the checkpoint to pass. If used, then UFT One may locate possible candidates for the specified bitmap that you are attempting to locate, and display the possible candidates in the run results, in addition to the results of the checkpoint. |
Comparer
Relevant only:
|
|
Type |
Enables you to select the comparer for UFT One to use to run the checkpoint. You can select the UFT One default comparer or a custom comparer. A custom comparer is a COM object that you or a third party develop to run the bitmap comparison in the checkpoint according to a more specific algorithm. |
Input |
Enables you to provide input (in string format) to the custom comparer, for any configuration options it supports. By default, this box displays a configuration string provided by the custom comparer (if available). Example: You might be able to specify tolerance levels or an acceptable deviation in size or location of the bitmap. Relevant only if a custom comparer is selected from the Comparer Type list. |
Details |
Opens help information provided by the custom comparer (if available). This help can include instructions for providing configuration input to the comparer, information about the algorithm that the custom comparer uses to compare the bitmaps, and an explanation about when to use this custom comparer. Available only if a custom comparer is selected from the Comparer Type list, and documentation is provided for this comparer. |
See also: