STW/Web -- A Test System for Web Sites

STW/Web TM is a bundle of software test tools tailored to support complete regression testing for Web Sites, including those which exploit the advanced features of Java TM.

STW/Web consists of three major components:

(1) CAPBAK/X for Web

CAPBAK/X for Web captures and plays back complex Web interactions including sequences that display and print Web site contents. CAPBAK/X for Web is based on the popular CAPBAK/X product but excludes some features of the full product that have no application on non-ICCCM compliant Web browsers.

(2) Xvirtual

Xvirtual is a complete X11 display system that can be run ``in the background '' to generate realistic loads. Xvirtual is launched with Xvinit and monitored with Xvmon. You can run up to 255 simultaneous copies of X executing recorded tests.

(3) TCAT for Java

TCAT for Java is a test coverage analysis tool for applets in Java, stands alone or works as a part of TestWorks' fully integrated STW/Coverage multi-platform suite of testing tools.

LIVE EXAMPLE OF TCAT for Java

This TCAT for Java instrumented example program, called "restaurant", is a simple San Francisco and Bay Area restaurant selection program written in Java.

The version you are looking at is processed first by TCAT for Java, and then compiled in the conventional way with ``javac.''

CLICK HERE for the TCAT for Java "restaurant" example.
NOTE: You MUST be using a Java enabled browser (e.g. Netscape 2.n). Otherwise this example will not work!
HINT: On some Web browsers you will have to issue the command "xhost +" to avoid a security violation.
HINT: We have heard that some browsers, particularly those which run a "firewall", won't permit our applet to download properly. If this is the case you may get a message that refers to a "...security issue..."
PLEASE: Report any problems with the TCAT for Java example to support@soft.com.

This example is based on three very simple Java programs (you can read them below). It asks you for inputs and you provide inputs to get the information you want. The cumulative C1 and S1 coverage values are show all the time you're testing. AND, you see the set of test coverage records (in raw form) that are generated as you type!

CLICK HERE to see the source program for Restaurant.processInput().

CLICK HERE to see the source program for Restaurant.prepareForInput(String).

CLICK HERE to see the source program for Restaurant.action(Event, Object).

TCAT for Java CONTEST!

We are offering a $100 discount on TCAT for Java to any user who supplies us a complete set of tests of "restaurant" that achieves a total of 100% C1 and 100% S1 test coverage. You can try out your tests on the interactive version of "restaurant" (see above).

Here's how to win: Study the attached interactive TCAT for Java application and the three associated source files. Devise a set of tests that exercises every branch (C1) and every callpair (S1), as shown on the screen. Send the set of tests to sales@soft.com and we'll score your results and send you a complete explanation of the correct solution. If you win, you get $100 off the purchase of your first license of STW/Web!

Copyright Notice

TCAT for Java is (c) Copyright by Software Research, Inc. Java is (c) Copyright by SunSoft, Inc.

Click Here for Screen Shots showing TestWorks Capabilities and Facilities.


Software Research, Inc.
625 Third Street
San Francisco, CA 94107-1997 USA
Phone: +1 (415) 957-1441 or +1 (800) 942-SOFT [USA Only]
Fax: +1 (415) 957-0730
info@soft.com