Class sap.ui.test.matchers.PropertiesModule: sap/ui/test/matchers/Properties


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


Since: 1.27.
Constructor Summary
Constructor Detail
new sap.ui.test.matchers.Properties(oProperties)
Parameters:
{object}oProperties the object with the properties to be checked. Example:
// Would filter for an enabled control with the text "Accept".
new Properties({
    // The property text has the exact value "Accept"
    text: "Accept",
    // The property enabled also has to be true
    enabled: true
})
If the value is a RegExp, it tests the RegExp with the value. RegExp only works with string properties.