ButtonProxy
The ButttonProxy
sample has two HCL DevOps Test
UI (Test UI) proxies. There is one button
control each for the Abstract Window Toolkit (AWT) and the Java foundation class (JFC). The
sample works with the application-under-test (AUT) sample.
Time required: 15 minutes
Prerequisite: You must open the help from 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
- ButtonProxy\src\sdk\samples\awt\ExtendedButtonProxy.java
- ButtonProxy\src\sdk\samples\jfc\ExtendedJButtonProxy.java
- ButtonProxy\ButtonProxy.rftcust
- Eclipse project files
- ButtonProxy\.project
- Proxy binary files
- ButtonProxy\ButtonProxy.jar
- ButtonProxy\ButtonProxy.rftcust
The AUT sample contains the following files:- Eclipse project files
- ButtonApp\.project
- AWT button application-under-test files
- ButtonApp\src\AWTButtonApp.java
- ButtonApp\bin\AWTButtonApp.class
- JFC or swing button application-under-test files
- ButtonApp\src\JButtonApp.java
- ButtonApp\bin\JButtonApp.class
- Proxy source files
- Test the button proxy sample.