Bagikan melalui


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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SmartMatchOptions
[FlagsAttribute]
public enum SmartMatchOptions
[FlagsAttribute]
public enum class SmartMatchOptions
[<FlagsAttribute>]
type SmartMatchOptions
public enum SmartMatchOptions

Members

Member name Description
Control 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.
None Do not use smart matching.
TopLevelWindow 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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyManager