SearchConfiguration Class

Definition

Provides helper functionality to configure search.

public ref class SearchConfiguration abstract sealed
public static class SearchConfiguration
type SearchConfiguration = class
Public Class SearchConfiguration
Inheritance
SearchConfiguration

Fields

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.

Methods

AreEqual(String[], String[])

Returns a value that indicates whether two configuration lists match.

ConfigurationExists(IEnumerable<String>, String)

Returns a value that indicates whether the given configuration name occurs in the provided configuration list.

NameEquals(String, String)

Returns a value that indicates whether the two configuration names match.

Applies to