Partilhar via


SearchConfiguration Class

Provides helper functionality to configure search.

Inheritance Hierarchy

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
Public methodStatic member AreEqual Returns a value that indicates whether two configuration lists match.
Public methodStatic member ConfigurationExists Returns a value that indicates whether the given configuration name occurs in the provided configuration list.
Public methodStatic member NameEquals Returns a value that indicates whether the two configuration names match.

Top

Fields

  Name Description
Public fieldStatic member 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.
Public fieldStatic member DisambiguateChild Returns "Distinct", and is used to return the child node when both the parent and the child nodes have the same property values.
Public fieldStatic member ExpandWhileSearching Returns "Expand", and indicates that the container control expand before searching its hierarchy.
Public fieldStatic member NextSibling Returns "NextTo", and is used to search in the sibling hierarchy of the container.
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace