Functional testing proxy SDK samples are simple examples
of proxy source code and applications under test (AUT).
These samples explain different implementations of Rational® Functional Tester proxy
APIs.
ButtonProxy
The ButttonProxy sample has two Functional Tester proxies. There is one
button control each for the Abstract Window Toolkit (AWT) and the
Java foundation class (JFC). The sample works with the application-under-test
(AUT) sample.
JFormattedTextFieldProxy
This JFormattedTextFieldProxy sample explains how create
a new proxy class add new control properties and control data. The
sample works with the application-under-test (AUT) sample.
CheckBoxProxy
This CheckBoxProxy sample explains how to create a new
proxy class and new TestObjects and then map them to the javax.swing.JCheckBox control.
The sample works with the application-under-test (AUT) sample.
Button OverrideProxy
This ButtonOverrideProxy sample explains how you can extend
the recording behavior of Rational Functional Tester, add more properties
and set up a simple value manager and value class. This sample proxy
is written for the java.awt.Button control. The sample
works with the application-under-test sample (AUT).
JSpinnerProxy
This JSpinnerProxy sample explains how to extend recording
behavior of a control with SubItems, and support the playback for
the extended recording behavior. The sample works with the application-under-test
(AUT) sample.
TreeProxy
This TreeProxy sample explains how to extend recording
behavior of a control with SubItems, and support the playback for
the extended recording behavior. The sample works with the application-under-test
(AUT) sample. To view the samples, you must import the tree proxy,
tree application and the tree custom control for which the proxy is
being written into your workspace.
Flex control proxy
This FlexCustomControl sample explains how to extend the
recording behavior of a control with SubItems and support the playback
for the extended recording behavior. The sample works with the application
under test sample. To view the samples, import the flex proxy for
which the proxy is being written into your workspace.