Checks if a control has a given descendant.
As of version 1.72, it is available as a declarative matcher with the following syntax: {
descendant: "object" // where "object" is a declarative matcher for the descendant
}
new sap.ui.test.matchers.Descendant(vDescendantControl, bDirect?)
Param | Type | Default Value | Description |
---|---|---|---|
vDescendantControl | object string | The descendant control to check. If undefined, it validates every control to true. Can be a control or a control ID |
|
bDirect? | boolean | specifies if the descendant should be a direct child |