background image
<< SQABasic object | Testing Properties of Java Components >>
<< SQABasic object | Testing Properties of Java Components >>

Supported Data Tests for Java Testing

Testing Java Applets and Applications
15-14
For More Information About Java Support
For information about mapping standard SQABasic object types to custom Java
components, click the Help button in the Java Class Mapping tab to display Robot
Help for that topic, or search the Robot Help index for Java Class Mapping tab.
For information about the Robot Java Open API, open the online document
overview-summary.htm. By default, this file is located in the following path:
Program Files\Rational\Rational Test\JavaEnabler\api
You can also open this file through the Robot and SQABasic Help systems wherever
you see the link to the Robot Java API Overview.
Supported Data Tests for Java Testing
The following table describes the data tests that are available for each Robot object
type supported in the Java environment.
Robot Object Type
Supported Data Test
Description of Data Test
PushButton, Label
Contents
Captures and compares visible text.
CheckBox
RadioButton
Contents
Captures and compares visible text.
Java Active State
Displays Selected or Not Selected depending on the
current state.
EditBox
Contents
Captures and compares visible text.
Java Active State
Captures and compares selected text.
ScrollBar, TrackBar
Contents
Displays the current value.
Java Active State
Displays the Value, Unit Increment, and Block
Increment.
ListBox, ComboBox
ComboListBox
Contents
Captures and displays all elements in the list box, combo
box, or combo list box.
Java Active State
Captures and displays the currently selected elements.
TabControl
Contents
Captures and displays all of the tabs.
Java Active State
Captures and displays the currently selected tab.
JavaTree
Contents
Captures and displays the contents of the Java tree.
Java Active State
Captures and displays the currently selected elements in
the Java tree.