namespace sap.ui.test

Control sample: sap.ui.test
Visiblity:
Available since: N/A
Module:
Application Component: CA-UI5-TA

Nodes Overview

Node Description
sap/ui/test/opaQunit

QUnit test adapter for OPA: add a test to be executed by QUnit Has the same signature as QUnit.test (QUnit version is also considered) Suggested usage:


sap.ui.require(["sap/ui/test/Opa5", "sap/ui/test/opaQunit"], function (Opa5, opaTest) {

   Opa5.extendConfig({
       assertions: new Opa5({
           checkIfSomethingIsOk : function () {
               this.waitFor({
                   success: function () {
                       Opa5.assert.ok(true, "Everything is fine");
                   }
               });
           }
       })
   });

   opaTest("Should test something", function (Given, When, Then) {
      // Implementation of the test
      Then.checkIfSomethingIsOk();
   });

});

sap.ui.test.Opa

One Page Acceptance testing.

sap.ui.test.Opa5

UI5 extension of the OPA framework.

sap.ui.test.OpaBuilder

Builder pattern for sap.ui.test.Opa5#waitFor options object - a function driven API supporting easy test definition and execution.

sap.ui.test.OpaExtension

OPA extension interface.

sap.ui.test.OpaPlugin

A Plugin to search UI5 controls.

sap.ui.test.PageObjectDefinition

Settings for a new page object, consisting of actions and assertions.

sap.ui.test.PageObjectFactory

Page Object Factory.

sap.ui.test.RecordReplay

Record-and-replay implementation for OPA5.

sap.ui.test.actions
sap.ui.test.gherkin
sap.ui.test.matchers

Methods Overview

Method Description