We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

UITechnologyManagerProperty Enumeration

This enumeration is used by implementations of the IUITechnologyManager interface to specify the options that are available to configure properties of the IUITechnologyManager. For more information about extending the technology manager, see Extending Coded UI Tests and Action Recordings to Support Microsoft Excel

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

public enum UITechnologyManagerProperty

Member nameDescription
ContainerScrollingSupportedDenotes a Boolean property to indicate whether the technology manager has built-in support for container scrolling. Used by the IUITechnologyElement.EnsureVisibleByScrolling method.
DoNotGenerateVisibleOnlySearchConfigurationDenotes whether the VisibleOnly flag must be generated in the base class of the corresponding user control. The associated property must either return null or throw the NotSupportedException if VisibleOnly is not supported as a search configuration, or return an IList that contains ControlType objects.
ExactQueryIdMatchDenotes whether all elements in a query ID must be searched, or the ancestor elements may be skipped in case of failure, and also whether leaf elements can be directly searched. The return type of the associated property should be Boolean if the result is the same for all elements of the technology. If an exact match for the query ID is required only for a few control types, the associated property should return a list of those control types. The default value is true for all control types. The associated property returns either a Boolean value or an IList that contains ControlType objects.
FilterPropertiesForSearchSupportedDenotes a Boolean property to indicate whether the technology manager has built-in support for search. Used by the Search method.
MergeSingleSessionObjectsDenotes a Boolean value that indicates whether two elements having similar query identifier values and identified as different controls during a recording session need to be merged into one control in the UI Map

The default is false for all control types.

NavigationTimeoutDenotes an integer that indicates the time-out to navigate to the next element in any direction. The default property value is -1, which effectively means that no time-out occurs.
NoneDenotes no option.
NumberOfSearchRetriesForFailFastDenotes the number of search retries an extension object should complete before it fails if failfast is true. Setting the associated property to -1 indicates that the search should be performed until time-out.
SearchSupportedDenotes a Boolean property to indicate whether the UI technology manager has built-in support for filter properties for search.
SearchTimeoutDenotes an integer property to specify the control search time-out in milliseconds.
SmartMatchOptionsDenotes the smart matching options for searching for the element. The associated property returns a SmartMatchOptions object.
WaitForReadyLevelDenotes the WaitForReadyLevel to use for calls to the WaitForReady method.
WaitForReadyTimeoutDenotes an integer property to specify the wait-for-ready time-out in milliseconds.
WindowLessTreeSwitchingSupportedDenotes a Boolean property to indicate whether the technology manager supports windowless tree switching.