Extending Flex custom control support using Proxy SDK wizard

HCL OneTest™ UI supports testing functional aspects of Adobe Flex custom controls in a specific way. Proxies can be created and deployed using the proxy SDK wizard. You can extend HCL OneTest UI capabilities by using the Proxy SDK wizard to test the Flex custom control. You can map a specific control to a proxy to support data verification point and the dataset.

About this task

If you want to map a specific control to a proxy and have the data verification point and the dataset support, you can use the HCL OneTest UI proxy SDK to extend support for testing flex custom controls.

  1. Create a delegate for the custom control and map the events and properties in the <HCL OneTest UI installation directory>\bin\FlexEnv.xml file. Delegate is an actionscript class which allows automation framework to understand the events from the control. References are available in Flex Builder directory where a delegate exists corresponding to each standard control. For information see, Flex Data Visualization Developer's Guide in the Adobe site.
  2. Create a proxy project and a test object. For details, refer to the Developing proxies using the Proxy SDK wizard section of topics.
  3. Create a proxy and associate the proxy and the test object with the control for which the proxy is written.
  4. Map the proxy to the control in the *.rftcust file generated using the Proxy SDK wizard.
  5. Deploy the .jar file and the *.rftcust file in the customization folder.
Feedback