namespace sap.ui.test.OpaBuilder.Actions

Visiblity: public
Available since: N/A
Module: sap/ui/test/OpaBuilder
Application Component: CA-UI5-TA

A collection of predefined actions. See also sap.ui.test.actions.


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.test.OpaBuilder.Actions.conditional

Creates an action that is only performed if target control fulfills the conditions.

sap.ui.test.OpaBuilder.Actions.enterText

Creates a sap.ui.test.actions.EnterText action.

sap.ui.test.OpaBuilder.Actions.executor

Creates an action function that executes all given actions on a single or an array of controls. This method can be used as a helper for handling the different kinds of action definitions and inputs.

sap.ui.test.OpaBuilder.Actions.press

Creates a sap.ui.test.actions.Press action.

sap.ui.test.OpaBuilder.Actions.conditional

Creates an action that is only performed if target control fulfills the conditions.

Param Type DefaultValue Description
vConditions sap.ui.test.matchers.Matcher function Array Object boolean

target control is checked against these given conditions

vSuccessBuilderOrOptions sap.ui.test.actions.Action function Array sap.ui.test.OpaBuilder

the actions to be performed when conditions are fulfilled

vElseBuilderOptions sap.ui.test.actions.Action function Array sap.ui.test.OpaBuilder

the action(s) to be performed when conditions are not fulfilled

sap.ui.test.OpaBuilder.Actions.enterText

Creates a sap.ui.test.actions.EnterText action.

Param Type DefaultValue Description
sText string

defines the sap.ui.test.actions.EnterText#setText setting

bClearTextFirst boolean

defines the sap.ui.test.actions.EnterText#setClearTextFirst setting

bKeepFocus boolean

defines the sap.ui.test.actions.EnterText#setKeepFocus setting

bPressEnterKey boolean

defines the sap.ui.test.actions.EnterText#setPressEnterKey setting

sIdSuffix string

defines the sap.ui.test.actions.Action#setIdSuffix setting

sap.ui.test.OpaBuilder.Actions.executor

Creates an action function that executes all given actions on a single or an array of controls. This method can be used as a helper for handling the different kinds of action definitions and inputs.

Param Type DefaultValue Description
vActions sap.ui.test.actions.Action function Array

the actions to be executed

sap.ui.test.OpaBuilder.Actions.press

Creates a sap.ui.test.actions.Press action.

Param Type DefaultValue Description
sIdSuffix string

the id suffix of the DOM Element the press action will be executed on