Enables you to run UFT One tests as a build in an Azure DevOps build process. This extension includes 6 tasks.
In a build step, run UFT One tests stored in the local file system or on an ALM server.
• When running test stored in the local file system, you can also run mobile tests. In addition, Parallel execution is available for mobile and web tests.
• When running tests from ALM Lab Management, you can also include a build step that prepares the test environment before running the tests.
After the build is complete, you can view comprehensive test results.
- UFT One (version >=14.00)
- Powershell (version >=5.1)
- JRE installed (required only if use the "UFT One ALM Lab Environment Preparation" task)
- From Visual Studio Marketplace: Install the UFT One Azure DevOps extension for the relevant organization
- On our GitHub: Navigate to a specific release (latest: 24.2.0)
- From Azure DevOps: Navigate to agent pools and set up an agent (interactive or run as a service)
- On your agent machine:
4.1. Download the resources provided by a specific release (UFT.zip & unpack.ps1)
4.2. Run the unpack.ps1 script
- From Azure Portal: Have available a Resource Group, a Storage Account and a Container (for storing report artifacts)
- On your agent machine:
6.1. Install [Azure Powershell] azure-powershell
6.2. Connect to Azure Portal
6.3. To access the artifacts (HTML report, archive or both), change the container's access level to blob
- When running tests, you can choose to upload the test result information generated by UFT One to an Azure Storage location. To support uploading UFT One test results to Azure Storage, perform the following steps:
- Define the following pipeline variables:
- RESOURCE GROUP - The name of the Resource Group
- STORAGE_ACCOUNT - The name of the Storage Account you created for this purpose.
- CONTAINER - The name of the Container
- In the pipeline steps that runs your UFT One tests, specify that you want the UFT One results uploaded to storage and choose the artifacts to be uploaded
- Define the following pipeline variables:
- Use this task to run tests located in your file system by specifying the tests' names, folders that contain tests, or an MTBX file (code sample below).
<Mtbx>
<Test name="Test-Name-11" path="Test-Path-1">
</Test>
<Test name="Test-Name-2" path="Test-Path-2">
</Test>
</Mtbx>
- More information is available here
- Use this task to run tests located on an ALM server, to which you can connect using SSO or a username and password.
- More information is available here
- Use this task to run ALM server-side functional test sets.
- More information is available here
- Use this task to assign values to AUT Environment Configurations located in ALM.
- More information is available here
- Use this task to to trigger a parallel testing task to run GUI Web or GUI Mobile tests in parallel from Azure DevOps Server (formerly known as TFS).
- More information is available here
- Use this task to configure a task that retrieves device and application information from Digital Lab (formerly UFT Mobile).
- More information is available here
For assistance or more information on configuring and using this extension, please consult the following resources: