Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlaybackSettings::MatchExactHierarchy Property

 

Gets or sets a value to indicate whether to match the exact hierarchy specified for searching this control.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
property bool MatchExactHierarchy {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if all the ancestors of the control will be searched to locate this control; false if some ancestors will be skipped during the search.

Each control is specified as a hierarchy of containing controls for the search. For example, if the hierarchy of a control is A;B;C;D if A is found but playback fails to find full hierarchy B->C->D under it, then directly search for D under A if this property is set to false.

Return to top
Show: