JFormattedTextFieldProxy
This JFormattedTextFieldProxy sample explains how create a new proxy class add new control properties and control data. The sample works with the application-under-test (AUT) sample.
Time required: 15 minutes
Prerequisite: You must open the help from HCL DevOps Test UI (Test UI) 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 the following files:
- Proxy source files
- JFormattedTextFieldProxy\src\sdk\samples\jfc\JFormattedTextFieldProxy.java
- JFormattedTextFieldProxy\JFormattedTextFieldProxy.rftcust
- Eclipse project files
- JFormattedTextFieldProxy\.project
- Proxy binaries
- JFormattedTextFieldProxy\JFormattedTextFieldProxy.jar
- JFormattedTextFieldProxy\JFormattedTextFieldProxy.rftcust
The AUT sample contains the following files:
- Eclipse project files
- JFormattedTextFieldApp\.project
- Application-under-test files
- JFormattedTextFieldApp\JFormattedTextFieldApp.java
- JFormattedTextFieldApp\JFormattedTextFieldApp.class
- Proxy source files
- Test the JFormattedTextField proxy sample.