This documentation is archived and is not being maintained.

SearchConfiguration Class

Provides helper functionality to configure search.


Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public static class SearchConfiguration

The SearchConfiguration type exposes the following members.

Public methodStatic memberAreEqualReturns a value that indicates whether two configuration lists match.
Public methodStatic memberConfigurationExistsReturns a value that indicates whether the given configuration name occurs in the provided configuration list.
Public methodStatic memberNameEqualsReturns a value that indicates whether the two configuration names match.

Public fieldStatic memberAlwaysSearchReturns "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 memberDisambiguateChildReturns "Distinct", and is used to return the child node when both the parent and the child nodes have the same property values.
Public fieldStatic memberExpandWhileSearchingReturns "Expand", and indicates that the container control expand before searching its hierarchy.
Public fieldStatic memberNextSiblingReturns "NextTo", and is used to search in the sibling hierarchy of the container.
Public fieldStatic memberVisibleOnlyReturns "VisibleOnly", and is used to search only among visible elements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.