Microsoft KB Archive/112012

= Microsoft Knowledge Base =

Microsoft Test Version 2.0 Enhancements Over Version 1.0
Last reviewed: October 19, 1994

Article ID: Q112012

The information in this article applies to:

- Microsoft Test for Windows, version 2.0

SUMMARY
This article summarizes the new enhancements to Microsoft Test version 2.0 for Windows.

MORE INFORMATION
The following new features were added to Microsoft Test version 2.0 for Windows:

Enhancements to the TESTDRVR.EXE Environment

 * Syntax coloring.
 * Stream mode and line mode selection of text.
 * Line continuation character.
 * Script files up to 8 mb in size (limited by system memory).
 * Locals and Watch windows to help debugging.
 * Ability to 'pre-compile' commonly used include files to speed up parse time.
 * Ability to generate p-code files that can be run outside of the TESTDRVR env.

Support for Testing for Text-Mode MS-DOS Sessions

 * Ability to capture program output from stdout and stderror in your test script.
 * Ability to read MS-DOS session text-mode video memory into a Microsoft Test string.

DDE Support

 * Ability to use DDEML.DLL to perform DDE. Scripts can act as client or server.

Smart Event Recorder

 * New recorder feature generates Microsoft Test code and calls to the Microsoft Test DLL routines. For example, clicking OK button generates WButtonClick "Ok".

New TestBasic Language Features

 * File manipulation (COPY, COMPARE (2 files), ATTRIB, RANDOM + BINARY access).
 * UI statements (MSGBOX, INPUTBOX, STATUSBOX statements / functions).
 * Floating point data types and operations.
 * Ability to pass MS Test SUB / FUNCTIONs as callback functions to API or DLL routines.
 * Ability to call CDECL API / DLL functions.
 * Non-STATIC Subs and Functions to allow true recursion.

TestCtrl Routines Can Locate Controls by Their Tab Order
- You can use "@#" (for example, "@1" or "@2") to specify the nth control

of the desired type in the tab order, rather then using the control name or setting the focus to the control and using "". For example, WEditSetFocus "@2" sets the focus to the second edit control in the tab order. However, this doesn't work with Visual Basic controls. In Visual Basic, you still have to set the focus yourself and use "" for the name).

Distributed Testing
- Ability to farm out tests to different test machines on any NETBIOS

compatible network (Novell, LanMan, and so on).