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).
Time required: 15 minutes
The proxy sample contains the following files:
- Proxy source files
- ButtonOverrideProxy\src\sdk\sample\awt\ButtonOverrideProxy.java
- ButtonOverrideProxy\src\sdk\sample\value\SimpleValue.java
- ButtonOverrideProxy\src\sdk\sample\value\SimpleValueManager.java
- ButtonOverrideProxy\ButtonOverrideProxy.rftcust
- Eclipse project files
- ButtonOverrideProxy\.project
- Proxy binary files
- ButtonOverrideProxy\ButtonOverrideProxy.jar
- ButtonOverrideProxy\ButtonOverrideProxy.rftcust
The AUT sample contains the following files:
- Eclipse project files
- ButtonApp\.project
- Application-under-test files
- ButtonApp\src\AWTButtonApp.java
- ButtonApp\bin\AWTButtonApp.class