namespace sap.ui.test.matchers

Control sample: sap.ui.test.matchers
Visiblity:
Available since: N/A
Module:
Application Component: CA-UI5-TA

Nodes Overview

Node Description
sap.ui.test.matchers.AggregationContainsPropertyEqual

Checks if an aggregation contains at least one item that has a property set to a certain value.

sap.ui.test.matchers.AggregationEmpty

Checks if an aggregation is empty.

sap.ui.test.matchers.AggregationFilled

Checks if an aggregation contains at least one entry.

sap.ui.test.matchers.AggregationLengthEquals

Checks if an aggregation contains a specified number of entries.

sap.ui.test.matchers.Ancestor

Checks if a control has a defined ancestor.

sap.ui.test.matchers.BindingPath

Checks if a control has a binding context with the exact same binding path.

sap.ui.test.matchers.Descendant

Checks if a control has a given descendant.

sap.ui.test.matchers.I18NText

The I18NText matcher checks if a control property has the same value as a text from an I18N file.

sap.ui.test.matchers.Interactable

Checks if a control is currently able to take user interactions.

sap.ui.test.matchers.LabelFor

The LabelFor matcher checks if a given control has a label associated with it.

sap.ui.test.matchers.Matcher

Matchers for Opa5 - needs to implement an isMatching function that returns a boolean and will get a control instance as parameter

sap.ui.test.matchers.Properties

Checks if a control's properties have the provided values - all properties have to match their values.

sap.ui.test.matchers.PropertyStrictEquals

Checks if a property has the exact same value.

sap.ui.test.matchers.Sibling

Checks if a control has a defined sibling.


Methods Overview

Method Description