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.
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).
You can test the javax.swing.JCheckBox control, which the CheckBoxApp AUT provides.
Administrative property | Value |
---|---|
Proxy Class Name (#proxy) | .java.jfc.JCheckBoxProxy |
Test Object Class Name (#testobject) | ToggleGUITestObject |
Administrative property | Value |
---|---|
Proxy Class Name (#proxy) | SDK.Sample.ExtendedCheckBoxProxy |
Test Object Class Name (#testobject) | ExtendedToggleGUITestObject |