After enabling UFT One to recognize the custom controls, you must provide support for running test object methods. If you try to run a test with steps that run on custom test objects before providing implementation for these methods, the test fails and a run-time error occurs.
For more information, see Supporting Dynamic Lists of Values for Method Arguments.
After you create support for running test object methods, you can run UFT One GUI tests on your custom test objects, and verify that your toolkit support set performs correctly. For more information on testing your toolkit support set, see Testing the Toolkit Support Set During Development.
The following example is taken from the ASPAjax toolkit support set, which includes support for a Select method on the ASPAjaxTabs test object. In the ASPAjax test object configuration file, this is declared as follows:
<ClassInfo BaseClassInfoName="WebElement" Name="ASPAjaxTabs"
<Operation ExposureLevel="CommonUsed" Name="Select" PropertyType="Method">
<Description>Selects the specified tab.</Description>
<![CDATA[Select the tab with index %a1.]]>
<Argument Name="Index" IsMandatory="true" Direction="In">
The index value of the tab to select.
In the toolkit configuration file, the Control\Settings element for the ASPAjaxTabs test object class is defined as follows:
<variable name="default_imp_file" value="Tabs.js"/>