Manual Integration Test: Test Validation.Minimum on Edm.Decimal

DESCRIPTION

Test the behavior when you enter incorrect values.

PREPARATION

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

Testing With Mock Data

Start the OData Types application with one of the following URLs; adjust host and port if necessary:

Testing Against Backend System

Configure your Web IDE to execute the OData Types application against an ABAP backend system.
Start the OData Types application with the following URL; adjust host and port if necessary:

REALIZE AND CHECK

Enter an invalid value for Validation.Minimum on Edm.Decimal

Proceed as follows:

  1. Start the application.
  2. Enter a value less than or equal to 100 in the sap.ui.model.odata.type.Decimal (minimum: 100 (exclusive), maximum: 1000) field.
  3. Check: You get a validation error.
  4. Press Reset Model
  5. Check: The validation error is gone and the old value is displayed

OData V4 Model tests

  1. Press V4 Button.
  2. Enter an invalid value in one or more of the data fields
  3. Check: You get validation errors with an appropriate error messages.
  4. Press Reset Model or Reset ContextBinding
  5. Check: The validation errors are gone and the old values are displayed

Real OData tests

  1. Start the app with URL parameter "realOData=true"
  2. Enter valid values in the input fields
  3. Press Save
  4. Reload the application and Check whether the before saved values appear
  5. Press Reset
  6. Check whether the default values provided by the service appear
  7. Reload the application and Check whether the default values still appear
  8. Press V4 button and test the same within for OData v4 model