Mapping proxies to controls

Functional Tester identifies each application under test (AUT) control by its class name. Running the testObject.getProperty(".class") method in the test script gives you the class name. The mapping is established through the class names of the respective control and ProxyObject.

Before you begin

To map proxies to controls, explicitly map newly developed ProxyObjects to a control or group of controls through an external map file called customization files with the .rftcust extension. Functional Tester refers these customization files and creates ProxyObject instances for a control as specified in the mapping. You must create your own customization file to specify the mapping information between the ProxyObject and the control. You can deploy the newly created customization file by saving it in the Functional Tester customization directory.

To map a proxy class to an AUT control class, add the ClassName and UsedBy tags within the DomainImplementation start and end tags.

You must add your proxy class name within the ClassName tag and the name of the AUT class that the proxy represents within the UsedBy tag.


The following is an example of a mapping entry in the customization file:
<DomainImplementation L=".DomainImplementation">

What to do next

While updating the customization file, make sure that the file meets the following conditions:

Related tasks

Create a proxy class

Add more control properties

Add more data types for a control

Enhancing the recording behavior

Enhancing the recording behavior with SubItems

Extending data driving

Change the role of a control

Modifying the recognition properties and weight of a control

Change the mappability of a control

Deploy a proxy

Debugging the proxy code


Search Tips   |   Advanced Search