Sample Excel Extension: ExtensionPackage Class
This class extends the UITestExtensionPackage class and provides the entry point for a coded UI test that is testing an Microsoft Excel Worksheet.
The file begins with an assembly attribute that identifies the assembly as a UI Test Extension.
[assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestExtensionPackage( "ExcelExtensionPackage", typeof( Microsoft.VisualStudio.Test.Sample.UI.ExtensionPackage))]
This attribute declares the base class name, the name of the package class, and the fully qualified class name for the custom extension package class.
The GetService method is the single entry point used by the coded UI testing framework to gain access to the technology manager, the property provider, and the action filter, as identified by the base class for each object.