background image
<< Commands - App Ready Timeout | Commands - Bitmap Match Count >>
Commands - Verify That a Tag Uniquely Identifies a Window
<< Commands - App Ready Timeout | Commands - Bitmap Match Count >>
User's Guide
469
27 M
ENU
C
OMMANDS
Options menu
Verify That a Tag Uniquely Identifies a Window If checked, verifies that
each tag used by the script matches only one window.
Default is checked.
Verify That Coordinates Passed to a Method Are Inside the Window If
checked, verifies that the coordinates passed to a method are inside the
window before the mouse is pressed. If checked and coordinates fall outside
the window, SilkTest raises the
E_COORD_OUTSIDE_WINDOW
exception.
Typically, you use the checking feature unless you need to be able to pass
coordinates outside of the window (such as negative coordinates). Note that
the MoveMouse, PressMouse, and ReleaseMouse methods never verify their
coordinates.
Default is checked.
Verify the Class Tag for Methods of Class Control If checked, verifies
that objects are of the specified type before interacting with them. This option
is unchecked and disabled for SilkTest.
Verify That an Application Is Ready (Requires an Extension) If checked,
synchronizes the Agent with the application under test. Calls made to the
Agent will not proceed until the application is ready. This option applies only
if you have an extension enabled in the Options/Extensions dialog.
Default is checked.
Close options
List of Buttons Used to Close a Window Specifies a list of strings
representing the list of buttons used to close windows closed with the Close,
CloseWindows, and Exit methods. The preferred way to specify these buttons
is with the lsCloseWindowButtons variable in the object's declaration.
Default is Cancel, Close, Exit, Done.
Keystrokes Used to Close a Dialog Box Window Specifies a list of strings
representing the keystroke sequence used to close dialogs (used by Close,
CloseWindows, and Exit). The preferred way to specify this keystroke
sequence is with the lsCloseDialogKeys variable in the object's declaration.
Default is <Esc>.
List of Menus Used to Close a Window Specifies a list of strings
representing the list of menu items used to close windows with Close,
CloseWindows, and Exit. The preferred way to specify these menu items is
with the lsCloseWindowMenus variable in the object's declaration.
Default is File/Exit*, File/Quit*.