background image
<< Commands - Events Used to Invoke Popup Menus | Commands - Consider Case When Matching Items in Controls >>
Commands - Pick Dropdowns Before Getting Item Information
<< Commands - Events Used to Invoke Popup Menus | Commands - Consider Case When Matching Items in Controls >>
472
User's Guide
27 M
ENU
C
OMMANDS
Options menu
For some windows and GUIs, you can't always resize the window to the
particular size specified. If the ending size is not exactly what was specified
and the difference between the expected and actual sizes is greater than the
tolerance, SilkTest raises an exception.
Windows cannot be sized smaller than will fit comfortably with the title bar.
Default is 0 pixels.
Tolerance to Use When Moving Windows (Pixels) Specifies an integer
representing the number of pixels allowed for a tolerance when a moved
window does not end up at the specified position.
For some windows and GUIs, you can't always move the window to the
particular pixel specified. If the ending position is not exactly what was
specified and the difference between the expected and actual positions is
greater than the tolerance, SilkTest raises an exception.
The tolerance can be set through the Control Panel, by setting the desktop
window granularity option. If the granularity is zero, you can place a window
at any pixel location. If the granularity is greater than zero, the desktop is
split into a grid of the specified pixels in width, determining where a window
can be placed. In general, the tolerance should be greater than or equal to the
granularity.
Default is 0 pixels.
Events Used to Invoke Popup Menus Specifies a string, which is the
command (keystrokes or mouse buttons) used to display pop-up menus. To
use mouse buttons, specify <button1>, <button2>, or <button3> in the
command sequence.
Default is <Button2><Up><Down>.
Pick Menus Before Getting Menu Item Information If checked, picks
the menu before checking whether an item on it exists, is enabled, or is
checked. Note: You might see menus pop up on the screen even though your
script does not explicitly call the Pick method.
Default is unchecked.
Pick Dropdowns Before Getting Item Information If checked, drops
down the combo box before trying to access the combo box's contents. This
is usually not needed, but some combo boxes only get populated after they
are dropped down. If you are having problems getting the contents of a
combo box, check this option.
Default is unchecked