class sap.ui.core.support.RuleEngineOpaExtension

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/support/RuleEngineOpaExtension
Application Component: CA-UI5-COR

This class represents an extension for OPA tests which allows running Support Assistant checks.

It enriches the OPA assertions with the methods described in sap.ui.core.support.RuleEngineOpaAssertions.

For more information, see Integrating the Support Assistant in OPA Tests.


Constructor

new sap.ui.core.support.RuleEngineOpaExtension()

Methods Overview

Method Description
sap.ui.core.support.RuleEngineOpaExtension.extend

Creates a new subclass of class sap.ui.core.support.RuleEngineOpaExtension 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.base.Object.extend.

getAssertions
sap.ui.core.support.RuleEngineOpaExtension.getMetadata

Returns a metadata object for class sap.ui.core.support.RuleEngineOpaExtension.

sap.ui.core.support.RuleEngineOpaExtension.extend

Creates a new subclass of class sap.ui.core.support.RuleEngineOpaExtension 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.base.Object.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getAssertions

sap.ui.core.support.RuleEngineOpaExtension.getMetadata

Returns a metadata object for class sap.ui.core.support.RuleEngineOpaExtension.