background image
<< Swing Under Windows XP | JavaActiveState data test >>
<< Swing Under Windows XP | JavaActiveState data test >>

Testing Data in Java Components

Testing Java Applets and Applications
15-10
Starting the Sample Java Applet
To run your default browser and load the sample Java applet:
¾
Click Start > Programs > Rational Test Samples > Java.
Testing Data in Java Components
Use the Object Data verification point to test the data in Java components. For more
information about verification points, see Chapter 4, Creating Verification Points in
GUI Scripts
an
d the Robot Help.
To test a Java component's data:
1. Start recording in Robot. For details, see Recording a New GUI Script on page
2-15.
2. Open the Java applet or application that you want to test.
If you plan to play back the script under Rational Quantify or PureCoverage to
test a Java application (not an applet), use the Start Java Application button on
the GUI Insert toolbar. For information about Quantify and PureCoverage, see
Setting Diagnostic Tools Options on page 9-11. For information about starting a
Java application, see Starting an Application on page 3-1.
3. Navigate to the page that you want to test.
4. Start creating the Object Data verification point. (For instructions, see Object
Data verification point in the Robot Help Index.)