You can write a ProxyObject class either in Java™ or
C#, depending on which control you are developing the proxy for. Creating
a new ProxyObject class is similar to creating a new Java or C# class extending
the respective base ProxyObject class.
About this task
To create, build, and deploy a ProxyObject class:
Procedure
- Create a ProxyObject Class.
- Build the ProxyObject binaries using the IDE build commands.
For Java, the compiled binary is a JAR file.
Note: The JAR file
can also be created through JDK command lines, for example:
jar cvf JFormattedTextFieldProxy.jar proxysdk\sample\java\ JFormattedTextFieldProxy.class
For .Net, the compiled binary output is a .Net assembly.
- Map the ProxyObject class to the application under test (AUT) control
class.
- Deploy the ProxyObjects by copying the proxy binary files and customization files to the
HCL OneTest™ UI
customization directory (C:\ProgramData\HCL\HOTUI\customization).
HCL OneTest UI
looks for proxy binary files and customization files in this directory.
- Restart HCL OneTest UI