The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SmartMatchOptions Enumeration


This enumeration lets you communicate how the IUITechnologyManager instructs the framework to search for the most likely results when a match cannot be found.

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

public enum SmartMatchOptions

Member nameDescription

Use smart match for controls only. If this option is specified, the framework uses the smart algorithm to intelligently match controls that have slightly different properties than those that are specified in the search string.


Do not use smart matching.


Use smart match for top-level windows only. The framework uses the smart algorithm to intelligently match the specified top-level window title with other similar top-level windows.

Return to top