background image
<< JavaActiveState data test | SQABasic object >>
<< JavaActiveState data test | SQABasic object >>

Testing the Contents of a Java Panel

Testing Java Applets and Applications
15-12
Testing the Contents of a Java Panel
A feature unique to Java testing is the ability to collect and test the data for all the
known components on a Java panel. A panel is a container of components and other
panels that you have grouped together.
To test the contents of a Java panel:
1. Repeat steps 1 5 from the section Testing Data in Java Components on page 15-10.
2. In the Select Object dialog box, drag the Object Finder tool over the page until
JavaPanel appears in the TestTip, as described in Selecting and Identifying the
Object to Test
on page 4-10.
Use the Object Data verification point to capture the active state of each
component in the panel. Robot inserts only the fields with dynamically
changing data, such as EditBox, RadioButton or ComboBox, into the panel's
Object Data verification point. Components without active state (JavaPanels,
PushButtons, or Labels) are not saved in the verification point.
3. Repeat steps 7 10 from the section Testing Data in Java Components on page
15-10.
JavaPanel
Object Finder tool
TestTip