SearchConfiguration Class
Provides helper functionality to configure search.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITest.Extension.SearchConfiguration
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public NotInheritable Class SearchConfiguration
public static class SearchConfiguration
public ref class SearchConfiguration abstract sealed
[<AbstractClass>]
[<Sealed>]
type SearchConfiguration = class end
public final class SearchConfiguration
The SearchConfiguration type exposes the following members.
Methods
Name | Description | |
---|---|---|
AreEqual | Returns a value that indicates whether two configuration lists match. | |
ConfigurationExists | Returns a value that indicates whether the given configuration name occurs in the provided configuration list. | |
NameEquals | Returns a value that indicates whether the two configuration names match. |
Top
Fields
Name | Description | |
---|---|---|
AlwaysSearch | Returns "AlwaysSearch", and is used to make sure that the UI test playback engine does not use a cached control to perform any search action. | |
DisambiguateChild | Returns "Distinct", and is used to return the child node when both the parent and the child nodes have the same property values. | |
ExpandWhileSearching | Returns "Expand", and indicates that the container control expand before searching its hierarchy. | |
NextSibling | Returns "NextTo", and is used to search in the sibling hierarchy of the container. | |
VisibleOnly | Returns "VisibleOnly", and is used to search only among visible elements. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.