Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

'Declaration
<FlagsAttribute> _
Public Enumeration SmartMatchOptions

Member nameDescription
NoneDo not use smart matching.
TopLevelWindowUse 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.
ControlUse 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.

Community Additions

ADD
Show:
© 2015 Microsoft