ID Number: Q83108
1.00
WINDOWS
Summary:
FastTest procedures are pre-written routines written in the TestBasic
language. The procedures used in FastTest are in three separate script
(.MST) files provided with Microsoft Test. This article lists the name
of each FastTest procedure, and the name of the file in which it is
contained. Because FastTest routines are pre-written routines using
TestBasic, you can examine or modify the code for any give FastTest
routine by editing the corresponding script file.
Note that the FastTest routines are interdependent, and rely on global
variables, error handling, and other initializtion performed in the
main FastTest include file, FASTTEST.INC. Because of these
interdependencies, you should always use a $Include of FASTTEST.INC to
include support for FastTest routines in your scripts. If you include
only one of the FastTest component include files, the routines in that
file may not function correctly.
This information applies to Microsoft Test for Windows version 1.0.
More Information:
The FastTest procedures are contained in three .MST files written in
TestBasic. They are divided into the following functional categories:
FTESTKEY.MST
- Keystroke entry
- Menu handling
- Window management
FTESTUTL.MST
- File handling
- Directory handling
- Program control
- Mouse handling
- Clipboard interaction
- Miscellaneous procedures
FTESTLOG.MST
- Error logging
- Dialog testing
FASTTEST.INC is a file that must be included with your program to use
the FastTest procedures. Because the FastTest procedures are
interdependent, and rely on global variables created in FASTTEST.INC,
you should always use FASTTEST.INC to include FastTest procedures.
Procedure File
--------- ----
BButtonEnabled FTESTLOG
BButtonExist FTESTLOG
BCheckboxChecked FTESTLOG
BCheckboxEnabled FTESTLOG
BCheckboxExists FTESTLOG
BClipBoardCmp FTESTUTL
BComboBoxExists FTESTLOG
BComboBoxItemExists FTESTLOG
BCWDCmp FTESTUTL
BDriveCmp FTESTUTL
BDialogBoxExists FTESTLOG
BEditTextExists FTESTLOG
BFileCmp FTESTUTL
BFileExists FTESTUTL
BListBoxExists FTESTLOG
*Not a FastTest procedure, but is used by some FastTest procedures
Procedure File
--------- ----
BListBoxItemExists FTESTLOG
BMenuItemChecked FTESTKEY
BMenuItemEnabled FTESTKEY
BMenuItemExists FTESTKEY
BMenuItemGrayed FTESTKEY
BOptionbuttonChecked FTESTLOG
BOptionbuttonEnabled FTESTLOG
BOptionbuttonExists FTESTLOG
BWindowMaximized FTESTKEY
BWindowMinimized FTESTKEY
HStartApp FTESTUTL
IGetComboBoxItemCount FTESTLOG
IGetListBoxItemCount FTESTLOG
IGetMenuCount FTESTKEY
SGetCaption FTESTKEY
SGetComboBoxItemText FTESTLOG
SGetEditText FTESTLOG
SGetListboxItemText FTESTLOG
SGetMenuItemText FTESTKEY
SHideKeys* FTESTKEY
SKeyString* FTESTKEY
XAlt FTESTKEY
XAltShift FTESTKEY
XAppendFile FTESTUTL
XButtonEnabled FTESTLOG
XButtonExists FTESTLOG
XButtonNotEnabled FTESTLOG
XButtonNotExists FTESTLOG
XCaptionExists FTESTKEY
XCaptionNotExists FTESTKEY
XChangeCWD FTESTUTL
XChangeDrive FTESTUTL
XCheckboxChecked FTESTLOG
XCheckboxEnabled FTESTLOG
XCheckboxExists FTESTLOG
XCheckboxNotChecked FTESTLOG
XCheckboxNotEnabled FTESTLOG
XCheckboxNotExists FTESTLOG
XClickButton FTESTLOG
XClickCheckbox FTESTLOG
XClickComboBoxItem FTESTLOG
XClickListboxItem FTESTLOG
XClickMouse FTESTUTL
XClickOptionbutton FTESTLOG
XClipBoardCmp FTESTUTL
XClipBoardNotCmp FTESTUTL
XComboBoxExists FTESTLOG
XComboBoxItemExists FTESTLOG
XComboBoxItemNotExists FTESTLOG
XComboBoxNotExists FTESTLOG
XCreateDir FTESTUTL
XCreateFile FTESTUTL
XCtrl FTESTKEY
XCtrlAlt FTESTKEY
XCtrlAltShift FTESTKEY
*Not a FastTest procedure, but is used by some FastTest procedures
Procedure File
--------- ----
XCtrlShift FTESTKEY
XCWDCmp FTESTUTL
XCWDNotCmp FTESTUTL
XDblClickMouse FTESTUTL
XDblClickComboBoxItem FTESTLOG
XDblClickListboxItem FTESTLOG
XDeleteFile FTESTUTL
XDeleteFileIfExists FTESTUTL
XDialogBoxExists FTESTLOG
XDialogBoxNotExists FTESTLOG
XDoCleanup* FTESTUTL
XDragMouse FTESTUTL
XDriveCmp FTESTUTL
XDriveNotCmp FTESTUTL
XEditTextExists FTESTLOG
XEditTextNotExists FTESTLOG
XEnter FTESTKEY
XFailureCheck FTESTLOG
XFileCmp FTESTUTL
XFileExists FTESTUTL
XFileNotCmp FTESTUTL
XFileNotExists FTESTUTL
XFocusComboBox FTESTLOG
XFocusListBox FTESTLOG
XKey FTESTKEY
XListBoxExists FTESTLOG
XListBoxItemExists FTESTLOG
XListBoxItemNotExists FTESTLOG
XListBoxNotExists FTESTLOG
XLog FTESTLOG
XLogBanner FTESTLOG
XLogFailure FTESTLOG
XLogOff FTESTLOG
XLogOn FTESTLOG
XLogWarning FTESTLOG
XMaxWindow FTESTKEY
XMenuItemChecked FTESTKEY
XMenuItemEnabled FTESTKEY
XMenuItemExists FTESTKEY
XMenuItemGrayed FTESTKEY
XMenuItemNotChecked FTESTKEY
XMenuItemNotEnabled FTESTKEY
XMenuItemNotExists FTESTKEY
XMenuItemNotGrayed FTESTKEY
XMinWindow FTESTKEY
XMoveActiveWindow FTESTKEY
XMoveMouse FTESTUTL
XOptionbuttonChecked FTESTLOG
XOptionbuttonEnabled FTESTLOG
XOptionbuttonExists FTESTLOG
XOptionbuttonNotChecked FTESTLOG
XOptionbuttonNotEnabled FTESTLOG
XOptionbuttonNotExists FTESTLOG
XRestoreWindow FTESTKEY
XSelectMenuItem FTESTKEY
XSetCleanup FTESTUTL
XSetEditText FTESTLOG
XSetLogFileName FTESTLOG
XSetLogOptions FTESTLOG
Procedure File
-------- ----
XSetTerminate FTESTLOG
XShift FTESTKEY
XSizeActiveWindow FTESTKEY
XStartApp FTESTUTL
XText FTESTKEY
XWaitDialogBox FTESTLOG
XWaitMessageFile FTESTUTL
XWindowMaximized FTESTKEY
XWindowMinimized FTESTKEY
XWindowNotMaximized FTESTKEY
XWindowNotMinimized FTESTKEY
XZoomWindow FTESTKEY
For more information about the distinction between FastTest and
TestBasic, query on the following words in the Microsoft Knowledge
Base:
distinction and TestBasic and FastTest
Additional reference words: 1.00