[comp.windows.x] record/playback facilities

paulet@terre.matra-espace.fr (Pascal PAULET 6109 FAMI2) (06/05/91)

You will find hereafter a collection of information on X11 record/playback
test facilities.

----
>Hello Xperts,
>Can anybody give pointers to the following question:
>"What are the commercial test software running on HP in the environment
>X11-Motif which permit:
>- to record in a file the operator actions (keyboard and mouse) in order
>to test a user interface
>- and (if possible) to play in "paly-back" this file?
>Same question on VAX."
>Thank you in advance.
>Pascal.

On VMS the product is called DTM, DEC/Test Manager.  It provides the
ability to:
	Record and playback X Windows sessions
	Capture and compare bitmaps on the server
	Group Tests
	Drive tests for non-X Windows applications

	and more.

						.dave.

----
In article <1991Apr16.115929.3750@e2big.mko.dec.com>, marra@samuel.enet.dec.com (Dave Marra) writes:
|> 
|> >Hello Xperts,
|> >Can anybody give pointers to the following question:
|> >"What are the commercial test software running on HP in the environment
|> >X11-Motif which permit:
|> >- to record in a file the operator actions (keyboard and mouse) in order
|> >to test a user interface
|> >- and (if possible) to play in "paly-back" this file?
|> >Same question on VAX."
|> >Thank you in advance.
|> >Pascal.
|> 
|> On VMS the product is called DTM, DEC/Test Manager.  It provides the
|> ability to:
|> 	Record and playback X Windows sessions
|> 	Capture and compare bitmaps on the server
|> 	Group Tests
|> 	Drive tests for non-X Windows applications
|> 	and more.

FYI - The part of DTM that does X record and playback is available for both
VMS and Ultrix today.

- Marc

----
Check out xtmrecord and xtmexecute, which (I think) are part of the
contrib stuff.  I've just been introduced to these, and they look
like they'll do the trick.

Ralph

----
Appended are two replies to a similar queery on comp.sys.hp.


Peace,

Mike Taylor
Current Products Engineering & Online
Interface Technology Operation

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "I get stranger things than you free with my breakfast cereal!" 
                                                   - Zaphod Beeblebrox







The "Client Exerciser Tools" (a.k.a.  xtmrecord, xtmexecute, and
xtmconvert) were distributed as part of the alpha test suite
distribution from the MIT X Consortium.  Here is a copy of their
announcement:

>From rws@expo.lcs.mit.edu Wed Aug 16 08:26:39 1989
>Subject: X Test Suite
>
>
>The X Test Suite can now be ordered from the MIT Software Center.  The
>suite is available on one 2400ft, 1600bpi 9-track magnetic reel to reel
>tape written in UNIX tar format.  No other distribution format is
>available from MIT.  The tape contains source code and is distributed
>with a hardcopy of the documentation.
>
>
>
>To obtain a copy of the X Test Suite, please send a check drawn on a
>U.S.  bank payable to the "Massachusetts Institute of Technology" for US
>$200 to:
>
>   
>   MIT Software Center
>   Bldg. E32-300
>   28 Carleton Street
>   Cambridge, MA  02139 
>
>Please send wire transfers to:
>
>   First National Bank of Boston
>   100 Federal Street
>   Boston, MA  0211)
>
>   Acct #51463306
>
>   Reference: (your company name)M.I.T. Technology Licensing Office
>
>
>Please send a shipping address with your order.  P.O.  Boxes are
>undeliverable via UPS.
>
>
>If you have ordering questions, you can call the X Hotline at (617) 258-8330.

Note that this was posted in 1989, and availability may have changed.

Larry Woestman
Member of Technical Staff
Interface Technology Operation
Hewlett Packard Co.
1000 NE Circle Blvd.
Corvallis, Or. 97330

email:	larry@cv.hp.com  or hplabs!hp-pcd!larry
phone:	(503) 750-4111






Here is a note on how to fetch the ClientExerciser
from the MIT export machine.

The "Client Exerciser" (also known as xtm in HP) is available
as part of the T7 X Test Consortium test suite.  The test suite
is available on "export.lcs.mit.edu" as described below.  It used
to be on "expo" at MIT; however the MIT folks have moved
all of the expo stuff to "export".

I have excerpted the relevant files you need to ftp and listed them
below.  The T7 test suite has been split into .5 Megabyte chunks.
You need to ftp all of them and then cat them together, then
uncompress the result.  You can then use tar to unpack the 
archive.  

The "Client Exerciser" requires that your X server support the
"Input Synthesis Extension".  All HP servers support the
extension.  I think the Tektronix sample server does also.

We (us HP Corvallis X folk) have hacked xtm internally to fix
bugs and design deficiencies, and have also added some helpful
synchronization features.  But we haven't figured out how to 
{ sell, give away, support } the new version yet.  You can
ask, but no promises :-(

-----------------------------------------------------------------------
Jim Andreas             | andreas@cv.hp.com                | INTERNET
Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!andreas | UUCP
1000 N.E. Circle        | (USA) (503) 750-2860             | VOICE
Corvallis, OR 97330     | (USA) (503) 750-3788             | FAX  
-----------------------------------------------------------------------
This response does not represent the official position of, or statement by,
the Hewlett-Packard Company.  The above data is provided for informational
purposes only.  It is supplied without warranty of any kind.
-----------------------------------------------------------------------


---- from comp.windows.x -------
MIT X Consortium anonymous ftp repository has moved!           No responses
rws@expo.lcs.mit.EDU                              Bob Scheifler at The Internet

We have moved our anonymous ftp repository to export.lcs.mit.edu (address
18.30.0.238).  I'm sure this will cause some confusion at first, but the
move was made to lessen the load on expo.  No other changes have been
made; the xstuff mail daemon and mailing lists still reside on expo.
-------------------------------

./pub/XTEST
total 12894
-r--r--r--  1 root          675 Aug  7  1989 CHECKSUMS.BSD
-r--r--r--  1 root          647 Aug  7  1989 CHECKSUMS.SYSV
-r--r--r--  1 root         3117 Aug  7  1989 README
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.aa
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ab
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ac
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ad
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ae
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.af
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ag
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ah
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ai
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.aj
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ak
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.al
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.am
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.an
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ao
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ap
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.aq
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ar
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.as
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.at
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.au
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.av
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.aw
-r--r--r--  1 root       524288 Aug  7  1989 suite.tar.Z.ax
-r--r--r--  1 root       511845 Aug  7  1989 suite.tar.Z.ay

----------------------------------------
==================
./pub/XTEST/README
==================
The Alpha release of the X Testing Consortium's X Test Suite is now available
via anonymous ftp to expo.lcs.mit.edu (18.30.0.212), in the directory
/pub/XTEST/, as a split compressed tar file.  The distribution is
approximately 36Mb uncompressed.

The X Testing Consortium was formed (prior to the formation of the MIT X
Consortium) to develop code suitable for testing the correctness and
robustness of vendor implementations of the X Window System.  This release of
the test suite contains the following components:

1. Protocol Sanity Tests.  These test the server's basic ability to accept all
   legal message types and respond appropriately, test aspects which cannot be
   tested adequately from Xlib, and test basic server functionality that the
   Xlib tests depend on.

2. Xlib Tests.  Comprehensive tests for most routines and macros in the Xlib
   interface, testing both Xlib and the server.  Includes pixel validation
   of graphics requests.

3. Xlib Test Specifications.  Informal written specifications of what the Xlib
   Tests should do.

4. Volume/Stress Tests.  Tests server robustness with high data load and high
   computational load sustained over both short and long periods of time, and
   provides a framework for adding additional tests.

5. Client Exerciser.  Utilities for recording and playing back scripts of user
   actions (keyboard and pointer events), for the purpose of testing clients.
   The utilities make use of the Input Synthesis Extension (distributed as part
   of X11 Release 3 from MIT).

6. Graphics Benchmark.  Yet another graphics benchmark tool.

7. Interactive Xlib.  A test program which will read and execute Xlib functions
   and macros, both interactively and from input control files.

8. Gbench.  A graphics benchmark tool from Stanford.  This was not developed
   by the X Testing Consortium, it is simply included here as another utility.

We are attempting to arrange for the MIT Software Center to distribute the
test suite on mag tape for the cost of distribution.  Once the arrangements
are in place, information will be posted to this list.

This is an ALPHA release of the test suite.  It is not complete, and there is
no particular guarantee that any problems reported by this suite are really
bugs in your Xlib or server implementation, they may well be bugs in the test
suite itself.  The contents of this tape are not endorsed as any form of
standard by the X Consortium.

This test suite is the result of considerable work by numerous people in the
companies making up the X Testing Consortium, and we are indebted to them.
MIT was not directly involved in the development of the test suite, but did
meet with the X Testing Consortium on a regular basis.  This release of the
test suite has not gone through MIT's configuration and build process, so it
may take some effort to build the suite on your machine.

Although there is much work left to be done, this test suite represents an
excellent beginning.  With this release, the X Testing Consortium is
disbanding, but the MIT X Consortium will continue the development of X
testing software.

----

A product called Capback/X (?) could aslo do the trick.

----
Thank you to:

marra@samuel.enet.dec.com (Dave Marra)
evans@decvax.dec.com (Marc Evans)
ralph@swmerc.rain.com (Ralph Merwin)
tay@hpcvlx.cv.hp.com (Mike Taylor)

jms@informix.com (Jack Stephens) (06/07/91)

We have been looking into the same questions and have found the following
in addition to the suites already mentioned:

XTrap -- a public domain suite of `C` source providing low level access to
 the complete X protocol and including two sample clients which provide
 simplistic record and playback information. Developed by DEC this is
 an R4 conforming server extension; Contact Dan Cortu (cortu@zk3.dec.com)

Mercury Interactive -- provides both a X-based test development and replay
  environment and a hardware based platform allowing testing of non-
  X GUI products *using the same test suite*. A big win for us.
  Contact Rafi Bhonker 408-982-0100

Yet another soul wondering the wilderness of GUI test and porting and
looking for enlightenment.

Jack
-- 
 -------------------------------------------------------------------------
| Jack Stephens      ..!{uunet|pyramid}!infmx!jms --or-- ..!jack!wzlr!jms |
| Systems Programmer "Into the valley of Death rode the 600...            |
| Informix Software      which allowed them to use the carpool lane."     |