background image
<< Commands - Verify That a Tag Uniquely Identifies a Window | Commands - Events Used to Invoke Popup Menus >>
Commands - Bitmap Match Count
<< Commands - Verify That a Tag Uniquely Identifies a Window | Commands - Events Used to Invoke Popup Menus >>
470
User's Guide
27 M
ENU
C
OMMANDS
Options menu
List of Buttons Used to Close a Confirmation Window Specifies a list of
strings representing the list of buttons used to close confirmation dialogs (that
is, dialogs or message boxes that appear when closing windows with the
Close, CloseWindows, and Exit methods). The preferred way to specify these
buttons is with the lsCloseConfirmButtons variable in the object's
declaration.
Default is NO.
Name of Close Item On System Menu Specifies a list of strings
representing the list of menu items on the system menu used to close
windows with the Close, CloseWindows, and Exit methods.
Default is Close.
Bitmap options
Bitmap Match Count Specifies an integer representing the number of
consecutive snapshots that must be the same for the bitmap to be considered
stable. Snapshots are taken up to the number of seconds specified by the
Bitmap Match Timeout option, with a pause specified by Bitmap Match
Interval occurring between each snapshot. This option affects the
CaptureBitmap, GetBitmapCRC, VerifyBitmap, and WaitBitmap methods.
Default is 5.
Bitmap Match Interval (Seconds) Specifies a number representing the
time interval between snapshots to use for ensuring the stability of the bitmap
image. The snapshots are taken up to the time specified by the Bitmap Match
Timeout option. This option affects the CaptureBitmap, GetBitmapCRC,
VerifyBitmap, and WaitBitmap methods.
Default is 0.1 seconds.
Bitmap Match Timeout (Seconds) Specifies a number representing the
total time allowed for a bitmap image to become stable.
During the time period, SilkTest takes multiple snapshots of the image,
waiting the number of seconds specified by the Bitmap Match Interval option
between snapshots. If the timeout period is reached before the number of
bitmaps specified by the match count option, SilkTest stops taking snapshots
and raises the exception
E_BITMAP_NOT_STABLE
. This option affects the
CaptureBitmap, GetBitmapCRC, VerifyBitmap, and WaitBitmap methods.
Default is 5 seconds.
Bitmap Compare Tolerance (Pixels) Specifies an integer representing the
number of pixels of difference below which two bitmaps are considered to
match. If the number of pixels that are different is smaller than the number
specified with this option, the bitmaps are considered identical. The