UITestExtensionPackage Class

Represents an abstract class that enables the incorporation of third-party testing utilities into the Visual Studio Application Lifecycle Management (ALM) user interface (UI) test environment.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITestExtensionPackage

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public MustInherit Class UITestExtensionPackage _
    Implements IServiceProvider, IDisposable
public abstract class UITestExtensionPackage : IServiceProvider, 
    IDisposable
public ref class UITestExtensionPackage abstract : IServiceProvider, 
    IDisposable
[<AbstractClass>]
type UITestExtensionPackage =  
    class
        interface IServiceProvider
        interface IDisposable
    end
public abstract class UITestExtensionPackage implements IServiceProvider, IDisposable

The UITestExtensionPackage type exposes the following members.

Constructors

  Name Description
Protected method UITestExtensionPackage Initializes a new instance of the UITestExtensionPackage class.

Top

Properties

  Name Description
Public property PackageDescription Gets the description of this UI test package.
Public property PackageName Gets the name of this UI test package.
Public property PackageVendor Gets the name of the vendor for this UI test package.
Public property PackageVersion Gets the version of this UI test package.
Public property VSVersion Gets the version of Visual Studio Application Lifecycle Management (ALM) that supports this UI test package.

Top

Methods

  Name Description
Public method Dispose Releases resources that are used by this UI test package.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetService Gets the service object type for this UI test package.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This class is one of the primary extension points for extending the coded UI test capability to other application platforms. For an example, see Enable Coded UI Testing of Your Custom Controls and Extending Coded UI Tests and Action Recordings to Support Microsoft Excel.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IServiceProvider

Other Resources

Enable Coded UI Testing of Your Custom Controls

Extending Coded UI Tests and Action Recordings to Support Microsoft Excel