Highlighted
Trusted Contributor.
Trusted Contributor.
284 views

<(UFT) Support tip> Installing Unified Functional Testing TFS Extension

Dear All,

 

Following the UFT 14.00 release, we are happy to announce that in addition to Jenkins and Bamboo, UFT now integrates with another CI/CD system – Microsoft TFS (Team Foundation Server).

 

This plugin allows the Microsoft Team Foundation Server CI system to trigger tests using UFT from the local file system, from ALM, or from the ALM Test Lab module. In addition, you can use the Extension to prepare the testing environment before running a test set from the ALM Test Lab.

System prerequisites

In order to use this plugin you must have:

  • UFT installed on the same computer as the Extension
  • Powershell version 4.0 or higher
  • JRE installed with the Path environment variable pointing to the JRE installation folder

Before you can run UFT tests as part of your build on a TFS CI system, you have to install the Extension on your TFS server and configure the agent.

NOTE:

You must have Administrator privileges to install the Extension.

To use the UFT TFS Extension, you must use the TFS Agent in UI mode by double-clicking it to start the agent. Ensure that you set this option in the config.cmd script.

  1. Install UFT on the TFS agent machine.
  2. Download the TFS extension files, including the UFT.zip file, .vsix file, and the unpack.ps1 script: . You can also find the TFS Extension in the TFS Marketplace, with the name Unified Functional Testing.
  3. Run the unpack Powershell script. This unpacks the necessary files for the extension and UFT agent to run and sets the system environmental variables appropriately.
  4. From the main Start Page of the server, in the toolbar, click the Browse Store button and select Browse TFS Extensions. The Team Foundation Server Extensions page opens.
  5. At the bottom of the page, in the Manage Extensions box, click the Manage Extensions button. The Manage Extensions page opens.
  6. In the Manage Extensions page, click the Upload New Extension button. Then, in the dialog, navigate to the director where the .vsix file you download is saved.
  7. Select the .vsix file you downloaded and click Upload.
  8. In the Install new extension dialog box, click OK again. The TFS server pauses for a few moments while uploading and installing the extension.
  9. In the list of installed extensions, mouse over on the uploaded extension and click the Install button to install the extension.
  10. In the window that opens, select which collections for which the extension is used.

The Application Automation Tools Extension should be now displayed as valid extension for the server and can be used to run UFT tests.

Kind regards,

Mariya

HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.