Manual Integration Test: OData Products App

DESCRIPTION

Test for the sap.ui.model.odata.type.Unit and sap.ui.model.odata.type.Currency types

PREPARATION

To check console errors, open the developer tools before starting the application and check with each step that there are no errors and warnings.

Testing with mock data

Start the Products application with the following URL (adjust host and port if necessary):

Testing with back end

Configure your IDE to be able to execute the Products application against an ABAP back-end system.
Start the Products application with the URL (adjust host and port if necessary):

REALIZE and CHECK

Check whether measures are handled properly regarding decimal places defined for the corresponding unit code

Testing with mock data

For testing, you may use the following valid unit codes: For a complete list of valid unit codes, see the "ExternalCode" property of the objects linked in "Unit Codes" in the test application.

Testing with back end

For testing, you may try and use the unit codes listed in "Testing with mock data"; depending on the back end they may however not be available in the back-end customizing. Note: Although %, DEG, NO and M/L are valid, the back end does not accept them as they are no weight units; you see a corresponding error message "Invalid weight unit..." when saving a weight with one of these units upon leaving the weight input field. For a complete list of valid unit codes, see the "ExternalCode" property of the objects linked in "Unit Codes" in the test application.

Test measures

Test the following with mock data only

Check whether currencies are handled properly regarding decimal places defined for the corresponding currency code

Testing with mock data

Execute the test with "EUR3" which has 3 decimal places in case mock data is used. In addition, you may use the following valid currency codes for testing: For a complete list of valid currency codes, see the "CurrencyCode" property of the objects linked in "Currency Codes" in the test application.

Testing with back end

For testing, you may use the currency codes listed in "Testing with mock data"; depending on the back end they may however not be available in the back-end customizing. For a complete list of valid currency codes, see the "CurrencyCode" property of the objects linked in "Currency Codes" in the test application.

Test currencies

Test the following with mock data only

Test creation of a new entry

Test the following with mock data only