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)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("871588A7-4DD6-46B6-8C59-055DA66B5819")> _
Public Enumeration UITechnologyManagerProperty
[ComVisibleAttribute(true)]
[GuidAttribute("871588A7-4DD6-46B6-8C59-055DA66B5819")]
public enum UITechnologyManagerProperty
[ComVisibleAttribute(true)]
[GuidAttribute(L"871588A7-4DD6-46B6-8C59-055DA66B5819")]
public enum class UITechnologyManagerProperty
[<ComVisibleAttribute(true)>]
[<GuidAttribute("871588A7-4DD6-46B6-8C59-055DA66B5819")>]
type UITechnologyManagerProperty
public enum UITechnologyManagerProperty

Members

Member name Description
ContainerScrollingSupported Denotes a Boolean property to indicate whether the technology manager has built-in support for container scrolling. Used by the IUITechnologyElement.EnsureVisibleByScrolling method.
DoNotGenerateVisibleOnlySearchConfiguration Denotes 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.
ExactQueryIdMatch Denotes 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.
FilterPropertiesForSearchSupported Denotes a Boolean property to indicate whether the technology manager has built-in support for search. Used by the Search method.
MergeSingleSessionObjects Denotes 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.

NavigationTimeout Denotes 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.
None Denotes no option.
NumberOfSearchRetriesForFailFast Denotes 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.
SearchSupported Denotes a Boolean property to indicate whether the UI technology manager has built-in support for filter properties for search.
SearchTimeout Denotes an integer property to specify the control search time-out in milliseconds.
SmartMatchOptions Denotes the smart matching options for searching for the element. The associated property returns a SmartMatchOptions object.
WaitForReadyLevel Denotes the WaitForReadyLevel to use for calls to the WaitForReady method.
WaitForReadyTimeout Denotes an integer property to specify the wait-for-ready time-out in milliseconds.
WindowLessTreeSwitchingSupported Denotes a Boolean property to indicate whether the technology manager supports windowless tree switching.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyManager

SmartMatchOptions

ControlType

WaitForReadyLevel

SearchConfiguration

Other Resources

Extending Coded UI Tests and Action Recordings to Support Microsoft Excel