Creating a proxy class

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

  1. Create a ProxyObject Class.
  2. 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.

  3. Map the ProxyObject class to the application under test (AUT) control class.
  4. 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.

  5. Restart HCL OneTest UI
Feedback