About JavaStar: Playing Back Scripts and Tests


You can play back JavaStar scripts and tests using varying levels of automation. For developing scripts, you can load and playback scripts while preparing to record other scripts. When you have a composed test, or a script that can function without the aid of any other script, you can run this from the command line, or using the Run Test feature.

When you play back scripts, you can reset the delay and timeout values to tailor them to a specific need.

Delay values are used in scripts where you either recorded delays as part of the test (this is an option) or where you inserted a call to the delay method of the JavaStar library. At playback time, you can give a new value that JavaStar multiplies by the existing delays to provide a new timing scenario.

Timeout values are used in verify comparisons. After failure, a verify comparisons (unlike a synchronization) repeats until it reaches the timeout value. At playback, that might be a variable you want to change.

Because you might be running a test suite using a test harness, both the command line playback mode and Run Test give you control on whether the JavaStar GUIs and your test program display during execution.




Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.