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.
Time required: 15 minutes
Prerequisite: You must open the help from Rational® Functional Tester to
import the samples into your workspace.
Importing samples- To import the sample into the Eclipse workspace, click Get the
sample. You must import all the samples that are provided here into
your workspace.
- Open the Java perspective to view the imported samples.
The
proxy sample contains these files:
- Proxy source files
- TreeProxy\src\sdk\sample\jfc\ExtendedJTreeProxy.java
- TreeProxy\src\TreeProxy.rftcust
- Eclipse project files
- Proxy binary files
- TreeProxy\TreeProxy.jar
- TreeProxy\TreeProxy.rftcust
The application-under-test sample contains these files:
- Eclipse project files
- Application-under-test files
- TreeApp\src\sdk\sample\jfc\CustomTreeSample.java.
- TreeApp\bin\sdk\sample\jfc\CustomTreeSample.class
The tree custom control contains these files:
- ExtendedTreeControl\src\sdk\sample\jfc\ExtendedJTree.java
- Test the
tree proxy sample.