Examples you can use

This proxy sample explains how to create a simple proxy class and a new TestObject for a CheckBox control

Extended Capabilities: Creating a new TestObject

In this sample, you create a new TestObject and map it to CheckBoxProxy proxy to add the check() and uncheck() methods. This proxy extends the public String getTestObjectClassName() proxy method to return the canonical name of the newly created TestObject so that all javax.swing.JCheckBox controls have new TestObjects.

Note: You create a new TestObject only when you want the control to expose new methods that are not available in the existing Functional Tester TestObject.

Deploy the binary files

Copy the CheckBoxProxy.jar, CheckBoxProxy.rftcust, ExtendedToggleGUITestObject.jar, and ExtendedToggleGUITestObject.rftcust files to the customization directory and restart Functional Tester to test the sample application-under-test (AUT).

Verify the proxy and TestObject deployment

You can test the javax.swing.JCheckBox control, which the CheckBoxApp AUT provides.

Verify the new TestObject capability


Feedback