Open topic with navigation
Every custom toolkit support set has one toolkit configuration file named <Custom Toolkit Name>.xml, which is stored under the UFT installation folder. This file provides the information that UFT needs to find the classes of the custom toolkit support set.
The toolkit configuration file specifies:
The location of the toolkit support class
The location of the compiled support classes (a class folder or Java archive)
UFT adds this location to the Java application classpath when the application runs, enabling the application to find the required support classes.
The support toolkit description
UFT displays the description in the Add-in Manager when a user selects the custom toolkit's name in the list of available add-ins. If you are developing this toolkit support set for distribution, include a Provided by clause in this description, specifying the relevant person or company.
A mapping of each custom class to its custom support class
A single custom support class can be mapped to more than one custom class, but each custom class can be mapped to only one custom support class.
The following example illustrates the configuration file of the javaboutique toolkit support, with one supported custom class—AwtCalc:
<?xml version="1.0" encoding="UTF-8"?> <Controls class="com.mercury.ftjadin.qtsupport.javaboutique.javaboutiqueSupport" SupportClasspath="C:\JE\workspace\javaboutiqueSupport\bin" description="Javaboutique toolkit support."> <Control Type="org.boutique.toolkit.AwtCalc"> <CustomRecordReplay> <ImplementationClass> com.mercury.ftjadin.qtsupport.javaboutique.cs.AwtCalcCS </ImplementationClass> </CustomRecordReplay> </Control> </Controls>
You can validate your toolkit configuration file against: <UFT installation folder>\bin\java\sdk\eclipse\plugins\com.mercury.qtjext.plugin.QTJavaExt_1.0.0\ToolkitSchema.xsd
For information on the structure and syntax of the toolkit configuration file, see the
For information on where to store the toolkit configuration file, see Deploying and Running the Custom Toolkit Support.