To work with your application or applet without recording your actions, you can use the Interact feature of the Playback/Record window.
Interact is useful in several cases. Sometimes you need to interact with an application before beginning a recording session, particularly if you need to bring the program into a specific state. For example, you might need to load test data or clear fields of previous entries--tasks that you can take care of automatically within a composed test. For now, you can go into Interact mode, bring your test program into the proper state, then transition to Record mode and capture your interaction from that point on.
Interact is also helpful when you want to inspect a component of your test program to determine its state. Once in Interact mode, you'll see an Inspect button in the lower portion of the left button panel. By clicking this button, you can bring up a dialog window that lets you select a component, then query any simple data member or method of that component for its return value.
Note - If you click the Interact button while recording, JavaStar stops recording and enters Interact mode. Selecting Interact while in playback mode terminates playback immediately.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.