#BitmapPrecision – System Variable**






#BitmapPrecision Documentation


Description

The #BitmapPrecision system variable specifies how closely the found image must match the input image in Pause on Bitmap and ClickOnBitmap functions. The default value is 100 which means an exact match.

Usage

Mainly used in TSE/Citrix environments for generating successful bitmap synchronizations even when the found bitmap at replay is slightly different from the one at recording.

Syntax

#BitmapPrecision=<value>

Parameters

<value>, integer, from 0 to 100.

Remarks

If the bitmap is not found at the given precision level in a Pause on bitmap block, the PauseFalse part is executed. If the bitmap is not found at the given precision level in a ClickOnBitmap statement, the return code of the function is set to a non-zero value after #ActionTimeout (See ClickOnBitmap help article for the possible non-zero values).

#BitmapPrecision value applies to all the subsequent lines in the script unless a new #BitmapPrecision assignment changes its value.

Example

#BitmapPrecision=80