Code Monkey home page Code Monkey logo

adm-tfs-extension's Introduction

UFT One Azure DevOps extension

Enables you to run UFT One tests as a build in an Azure DevOps build process. This extension includes 4 tasks.

Table of contents

  1. Integration with UFT One
  2. Configuration
  3. Extension functionality
  4. Resources

Integration with UFT One

In a build step, run UFT One tests stored in the local file system or on an ALM server. 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.

Configuration

Prerequisites

  • UFT One (version >=14.00)
  • Powershell (version 4 or later)
  • JRE installed

Setup

  1. From Visual Studio Marketplace: Install the UFT One Azure DevOps extension for the relevant organization
  2. On our GitHub: Navigate to a specific release (latest: 2.0.0)
  3. From Azure DevOps: Navigate to agent pools and set up an agent (interactive or run as a service)
  4. 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
For extension version >=2.0.0:
  1. From Azure Portal: Have available a Resource Group, a Storage Account and a Container (for storing report artifacts)
  2. 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

Extension Functionality

UFT One File System Run
  • 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
  • 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
UFT One ALM Run
  • 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
UFT One ALM Lab Management Run
  • Use this task to run ALM server-side functional test sets.
  • More information is available here
UFT One ALM Lab Environment Preparation
  • Use this task to assign values to AUT Environment Configurations located in ALM.
  • More information is available here

Additional Resources

For assistance or more information on configuring and using this extension, please consult the following resources:

adm-tfs-extension's People

Contributors

aslaakso avatar dorin7bogdan avatar genshaft avatar goldba avatar hpsa avatar jackzenko avatar marag avatar marypril avatar mfftauto avatar paulapaltinisanu avatar shkval avatar soleverxu avatar yuribobrik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.