RequireChildOf(String, String) Method

Definition

Assembly HeadlessTestingFramework.dll

Requires that a control is a descendant of another.

public TreeValidator RequireChildOf(string childName, string parentName)

Parameters

childName
String

The child control name.

parentName
String

The parent control name.

Returns

TreeValidator
This validator for chaining.