Поделиться через


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

Members

Member name Description
None Denotes no option.
SearchSupported Denotes a Boolean property to indicate whether the UI technology manager has built-in support for filter properties for search.
ContainerScrollingSupported Denotes a Boolean property to indicate whether the technology manager has built-in support for container scrolling. Used by the IUITechnologyElement.EnsureVisibleByScrolling method.
WaitForReadyTimeout Denotes an integer property to specify the wait-for-ready time-out in milliseconds.
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.
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<T> that contains ControlType objects.
WaitForReadyLevel Denotes the WaitForReadyLevel to use for calls to the WaitForReady method.
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.
WindowLessTreeSwitchingSupported Denotes a Boolean property to indicate whether the technology manager supports windowless tree switching.
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<T> 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.
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.
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.

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