Web Add-in Extensibility Developer Guide > Working with Web Add-in Extensibility > Developing Support for Your Toolkit > Creating a Custom Toolkit Support Set

Creating a Custom Toolkit Support Set

A Web Add-in Extensibility toolkit support set is comprised of the following files:

Deploying the Toolkit Support Set describes the names of the different files required for a toolkit support set, and the folder structure in which they are stored.

To create a custom toolkit support set:

  1. Choose a unique name to represent the toolkit or environment for which you are creating support.

    You use the custom toolkit name to compose the name of the toolkit folder and the toolkit configuration file. The name must start with a letter and can contain only alphanumeric characters and underscores.

    Providing unique toolkit names enables a single UFT installation to support numerous custom toolkit support sets simultaneously. For this reason, a name such as MyToolkit is not recommended.

  2. Create a folder for your toolkit support set.

    You can choose any convenient name and location for this folder.

  3. Create the following folder structure:

    • <toolkit support set folder>\Toolkits\<toolkit environment name>\JavaScript

    • <toolkit support set folder>\Toolkits\<toolkit environment name>\Res

    • <toolkit support set folder>\Toolkits\<toolkit environment name>\Help

  4. In the toolkit support set folder, create a file named <toolkit environment name>TestObjects.xml. This is the test object configuration file.

  5. In the <toolkit support set folder>\Toolkits\<toolkit environment name> folder, create a file named <toolkit environment name>.xml. This is the toolkit configuration file.

  6. In the <toolkit support set folder>\Toolkits\<toolkit environment name>\JavaScript folder, create one or more files that will contain the JavaScript functions you design.

    As a best practice, create one JavaScript file for each test object class. In addition, you can create one JavaScript file that contains JavaScript functions called from JavaScript functions in the other files.

  7. You can use the <toolkit support set folder>\Toolkits\<toolkit environment name>\Res folder to store any icons that you provide to represent your test object classes in UFT.

  8. You can use the <toolkit support set folder>\Toolkits\<toolkit environment name>\Help folder to store any Help (.chm) files that describe the test objects in your environment.