Running Tests: Playing Back a Script from the Record/Playback Window


  1. From the Record/Playback window, click Playback.
    This brings up the Playback Test dialog window.

    Playback Test dialog

  2. Type the name of the test to run, any arguments your test requires, and the path to use for finding JST components.
    The test name can be the name of a script or a test (JST) file.

  3. Set the run test controls.

    Controls for playing back tests

    Option Description
    Start in pause mode Starts playback but suspends it before the first event. You can then click Continue to resume playback, or click Single Step to move through the test event-by-event.
    Delay factor This is the value that JavaStar multiplies by any internal delays recorded into your test. See Setting Test Options in the chapter "Creating Project Files" for more explanation.
    Time out Maximum time allowed to continue to attempt comparison verifications. When this time value is reached, a comparison fails.
    Time out for hang detection Maximum time JavaStar will wait without a response from the application under test. When this value is exceeded, JavaStar assumes the program hanged and aborts the test.

  4. Click OK.
    JavaStar loads the test. If you did not select Start in pause mode, the test begins to execute immediately.



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