Configuring the Custom Support Set

After developing the implementation for your Custom Server, the UFT One .NET Add-in Extensibility Support Set is ready for configuration and deployment.

The Deployment Workflow

The workflow for deploying a .NET Add-in Extensibility support set consists of the stages shown in the highlighted area of the image. These stages are described in detail in the sections below.

Back to top

Configuring UFT One to Use the Custom Server

To configure UFT One Windows Forms Extensibility, you update the .NET Add-in Extensibility configuration file (SwfConfig.xml). This file is located in the <UFT_One_installdir>\dat folder, and provides UFT One with the configuration information it needs to load your Custom Servers.

Enter configuration information into the SwfConfig.xml file in one of the following ways:

When configuring UFT One Windows Forms extensibility, define elements according to the coding option you selected for implementing your Custom Server:

Back to top

Copying Configuration Information Generated by the UFT One Custom Server Settings Wizard

When running the UFT One Custom Server Settings wizard to create a Custom Server, the wizard creates an XML configuration segment. The wizard outputs this segment to help you enter the configuration information in the .NET Add-in Extensibility configuration file.

To incorporate the contents of the XML configuration segment before deploying the Custom Server:

  1. Edit the Configuration.xml segment file in the project to ensure that the information is correct. Set the DllName element value to the location to which you plan to deploy the Custom Server. If Test Record and/or Test Run are to be loaded in different run-time contexts, edit the Context value accordingly.

  2. Copy the entire <Control>...</Control> node. Do not include the enclosing <Controls> tags.

  3. Open the .NET Add-in Extensibility configuration file, <UFT_One_installdir>\dat\SwfConfig.xml. Paste the Control node from Configuration.xml at the end of the file, before the closing </Controls> tag.

  4. Save the file. If UFT One was open, you must close and reopen it for the SwfConfig.xml changes to take effect.

    Note: You can validate the configuration file you design against the <UFT_One_installdir>\dat\SwfConfig.xsd file.

Back to top