Browse Prior Art Database

Diagnositc ASL Keyboard Emulator Test Tool

IP.com Disclosure Number: IPCOM000104945D
Original Publication Date: 1993-Jun-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 106K

Publishing Venue

IBM

Related People

Nichols III, FL: AUTHOR

Abstract

In the Diagnostics department, regression testing is performed by sitting down at the terminal and running all tests that can't be run automatically by scripts. A large majority of regression testing requires user interaction in the form of selecting options, selecting devices, and answering questions. Each time a new build is ready to be tested, this process must be repeated to ensure that all functions still work correctly.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 50% of the total text.

Diagnositc ASL Keyboard Emulator Test Tool

      In the Diagnostics department, regression testing is performed
by sitting down at the terminal and running all tests that can't be
run automatically by scripts.  A large majority of regression testing
requires user interaction in the form of selecting options, selecting
devices, and answering questions.  Each time a new build is ready to
be tested, this process must be repeated to ensure that all functions
still work correctly.

      The new method is a test tool that will capture keystrokes from
the keyboard and play them back in the same sequence.  This test tool
will allow DA writers to create test case files of keystrokes for all
devices and functions they are responsible for.  Each time a build is
ready for testing, a script can be invoked to run most, if not all,
test cases automatically.

      The following is a playback file created by the capture feature
of this test tool.  I have added comments to explain what each line
is doing.  Comments are allowed in the test case files to make them
easier to understand.

801001 ENTER 1         First Diag Screen
801002 CURSOR_DOWN 1   Diag Selection Screen
801002 CURSOR_DOWN 1     Cursor down to the Service Aid Selection
801002 CURSOR_DOWN 1                       "
801002 CURSOR_DOWN 1                       "
801002 CURSOR_DOWN 1                       "
801002 CURSOR_DOWN 1                       "
801002 ENTER 1         Select the Service Aids
802001 F3 1            Press cancel on the Service Aids Menu
801001 F3 1            Press cancel on the first Diag screen

      The capture file contains the screen number, keystroke, and the
number of times that keystroke should be returned for that screen
number.  The capture feature will create one line in the file for
each keystroke.  Multiple lines with the same screen number and
keystroke may be combined into one line with the proper return count.
An example of this would be to combine the six cursor down lines into
one line (i.e., 801002 CURSOR_DOWN 6).  The result during playback
will be the same.  When a device is selected from the diag test list,
the cursor down keystrokes are not captured.  Once the device has
been selected, only the device name is captured (i.e., 801005 DEVICE
rmt0).  When the test list is encountered during playback, the device
name is searched for and selected by name and not its position in the
test list.  This allows the same test case files to be used with
different machine configurations in which the location of devices in
the diag test list may change.

      The playback feature will keep track of the position in the
file as the test case is run.  If a screen is displayed with a
different screen number than what was in the playback file, an error
is logged in a results file.  The results file will contain...