Class sap.ui.test.matchers.InteractableModule: sap/ui/test/matchers/Interactable
Interactable - check if a control is currently able to take user interactions. OPA5 will automatically apply this matcher if you specify actions in sap.ui.test.Opa5#waitFor. A control will be filtered out by this matcher when:
- There are unfinished XMLHttpRequests (globally). That means, the Opa can wait for pending requests to finish that would probably update the UI. Also detects sinon.FakeXMLHttpRequests that are not responded yet.
- The control is invisible (using the visible matcher)
- The control is hidden behind a dialog
- The control is in a navigating nav container
- The control or its parents are busy
- The control or its parents are not enabled
- The UIArea of the control needs new rendering
Since: 1.34.
Constructor Summary
Events borrowed from class sap.ui.base.ManagedObject
Method Summary
sap.ui.test.matchers.Interactable.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.test.matchers.Interactable with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.test.matchers.Interactable.getMetadata()Returns a metadata object for class sap.ui.test.matchers.Interactable.
Methods borrowed from class sap.ui.test.matchers.Matcher
Methods borrowed from class sap.ui.base.ManagedObject
addAggregation, addAssociation, applySettings, attachFormatError, attachModelContextChange, attachParseError, attachValidationError, attachValidationSuccess, bindAggregation, bindContext, bindObject, bindProperty, clone, destroy, destroyAggregation, detachFormatError, detachModelContextChange, detachParseError, detachValidationError, detachValidationSuccess, findAggregatedObjects, fireFormatError, fireModelContextChange, fireParseError, fireValidationError, fireValidationSuccess, getAggregation, getAssociation, getBinding, getBindingContext, getBindingInfo, getBindingPath, getEventingParent, getId, getMetadata, getModel, getObjectBinding, getOriginInfo, getParent, getProperty, hasModel, indexOfAggregation, insertAggregation, invalidate, isBound, isInvalidateSuppressed, isTreeBinding, propagateMessages, removeAggregation, removeAllAggregation, removeAllAssociation, removeAssociation, setAggregation, setAssociation, setBindingContext, setModel, setProperty, toString, unbindAggregation, unbindContext, unbindObject, unbindProperty, validateAggregation, validateProperty
Methods borrowed from class sap.ui.base.EventProvider
Methods borrowed from class sap.ui.base.Object
Method Detail
sap.ui.test.matchers.Interactable.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.test.matchers.Interactable with name
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.test.matchers.Matcher.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
sap.ui.test.matchers.Interactable.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.test.matchers.Interactable.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |