<(UFT) Support tip> Installing Unified Functional Testing TFS Extension
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.
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.
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.
- Install UFT on the TFS agent machine.
- 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.
- 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.
- 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.
- At the bottom of the page, in the Manage Extensions box, click the Manage Extensions button. The Manage Extensions page opens.
- 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.
- Select the .vsix file you downloaded and click Upload.
- In the Install new extension dialog box, click OK again. The TFS server pauses for a few moments while uploading and installing the extension.
- In the list of installed extensions, mouse over on the uploaded extension and click the Install button to install the extension.
- 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.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.