Copying Configuration Information Generated by the UFT Custom Server Settings Wizard

When running the UFT 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 will 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 installation folder>\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 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 installation folder>\dat\SwfConfig.xsd file.