Page Object Factory.
Method | Description |
---|---|
sap.ui.test.PageObjectFactory.create |
Creates a set of page objects, each consisting of actions and assertions, and adds them to the Opa configuration. Use page objects to structure your actions and assertions based on parts of the screen. This helps to avoid name clashes and to structure your tests.
|
Creates a set of page objects, each consisting of actions and assertions, and adds them to the Opa configuration.
Use page objects to structure your actions and assertions based on parts of the screen. This helps to avoid name clashes and to structure your tests.
References:
Param | Type | DefaultValue | Description |
---|---|---|---|
mPageDefinitions | Object<string,sap.ui.test.PageObjectDefinition> |
Definitions of 1 or more page objects |
|
Opa5 | sap.ui.test.Opa5 |
Opa5 class, provided as parameter to avoid a circular dependency |