Sdílet prostřednictvím


UITechnologyManagerProperty Enum

Definition

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

public enum class UITechnologyManagerProperty
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("871588A7-4DD6-46B6-8C59-055DA66B5819")]
public enum UITechnologyManagerProperty
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("871588A7-4DD6-46B6-8C59-055DA66B5819")>]
type UITechnologyManagerProperty = 
Public Enum UITechnologyManagerProperty
Inheritance
UITechnologyManagerProperty
Attributes

Fields

Name Value Description
None 0

Denotes no option.

SearchSupported 1

Denotes a Boolean property to indicate whether the UI technology manager has built-in support for filter properties for search.

ContainerScrollingSupported 2

Denotes a Boolean property to indicate whether the technology manager has built-in support for container scrolling. Used by the EnsureVisibleByScrolling(Int32, Int32, Int32, Int32) method.

WaitForReadyTimeout 10

Denotes an integer property to specify the wait-for-ready time-out in milliseconds.

SearchTimeout 11

Denotes an integer property to specify the control search time-out in milliseconds.

SmartMatchOptions 12

Denotes the smart matching options for searching for the element. The associated property returns a SmartMatchOptions object.

ExactQueryIdMatch 13

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 14

Denotes the WaitForReadyLevel to use for calls to the WaitForReady() method.

NumberOfSearchRetriesForFailFast 15

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 51

Denotes a Boolean property to indicate whether the technology manager supports windowless tree switching.

DoNotGenerateVisibleOnlySearchConfiguration 52

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 53

Denotes a Boolean property to indicate whether the technology manager has built-in support for search. Used by the Search(Object, IUITechnologyElement, Int32) method.

NavigationTimeout 54

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 55

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

Applies to