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.
Time required: 15 minutes
Get the ExtendedToggleGUITestObject proxy sample
The proxy samples contains the following files:
- Proxy source files
- CheckBoxProxy\src\sdk\sample\jfc\ExtendedCheckBoxProxy.java
- CheckBoxProxy\CheckBoxProxy.rftcust
- TestObjects source files
- ExtendedToggleGUITestObject\src\sdk\sample\ExtendedToggleGUITestObject.java (Java TestObject)
- ExtendedToggleGUITestObject\SDK\Sample\ExtendedToggleGUITestObje ct.cs (.NET TestObject. See .NET CheckBox ProxySDK sample)
- ExtendedToggleGUITestObject\ExtendedToggleGUITestObject.rftcust (Customization file for both Java and .NET TestObjects)
- Eclipse project files
- CheckBoxProxy\.project
- ExtendedToggleGUITestObject\.project
- Binary files
- CheckBoxProxy\CheckBoxProxy.jar (Proxy Jar)
- CheckBoxProxy\CheckBoxProxy.rftcust (Proxy Customization file)
- ExtendedToggleGUITestObject\ExtendedToggleGUITestObject.jar (Java TestObject Jar)
- ExtendedToggleGUITestObject\ExtendedToggleGUITestObject.dll (.NET TestObject assembly)
- ExtendedToggleGUITestObject\ExtendedToggleGUITestObject.rftcust (Customization file for both Java and .NET TestObject)
The AUT sample contains the following files:
- Eclipse project files
- CheckBoxApp\.project
- Application-under-test files
- CheckBoxApp\src\JCheckBoxApp.java
- CheckBoxApp\bin\JCheckBoxApp.class