Sample Coded UI Test Extension for Excel

The extension component of the sample runs in the Visual Studio Coded UI Test process and is somewhat hierarchical with the ExtensionPackage class at the base. The TechnologyManager, ActionFilter, and PropertyProvider classes are at the next level, with the control elements at the top level.

Excel Extension Architecture

Excel Test Extension Architecture

Extension Points

These classes represent the extension points that are implemented in the sample to enable coded UI testing for Microsoft Excel.

ExtensionPackage

Inherited from the UITestExtensionPackage class, this is the entry point for the coded UI testing extension. Implementing this abstract class gives the coded UI testing framework internal access to your custom UI test technology manager, UI test property provider, and UI test action filter for testing the new UI. For more information, see Sample Excel Extension: ExtensionPackage Class.

TechnologyManager

Inherited from the UITechnologyManager class, this class provides a technology manager for test recording and playback. For more information, see Sample Excel Extension: TechnologyManager Class.

ActionFilter

Inherited from the UITestActionFilter class, this class provides a base class for aggregating similar test action results into a single test result. For more information, see Sample Excel Extension: ActionFilter Class.

Technology Elements

A base class inherited from the UITechnologyElement class provides the foundation for the technology elements in your UI tests that can be recorded and played back. For more information, see Sample Excel Extension: Element Classes.

PropertyProvider

Inherited from the UITestPropertyProvider class, this class provides a base class for supporting the properties of UI elements for test recording and playback. For more information, see Sample Excel Extension: PropertyProvider Class.

See Also

Reference

UITestPropertyProvider

UITechnologyElement

UITestActionFilter

UITestExtensionPackage

Concepts

Sample Excel Extension: ExtensionPackage Class

Sample Excel Extension: TechnologyManager Class

Sample Excel Extension: ActionFilter Class

Sample Excel Extension: Element Classes

Sample Excel Extension: PropertyProvider Class