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:
- Start the application.
- Enter a value less than or equal to 100 in the
sap.ui.model.odata.type.Decimal (minimum: 100 (exclusive), maximum: 1000)
field.
- Check: You get a validation error.
- Press
Reset Model
- Check: The validation error is gone and the old value is displayed
OData V4 Model tests
- Press
V4 Button.
- Enter an invalid value in one or more of the data fields
- Check: You get validation errors with an appropriate error messages.
- Press
Reset Model or Reset ContextBinding
- Check: The validation errors are gone and the old values are displayed
Real OData tests
- Start the app with URL parameter "realOData=true"
- Enter valid values in the input fields
- Press
Save
- Reload the application and Check whether the before saved values appear
- Press
Reset
- Check whether the default values provided by the service appear
- Reload the application and Check whether the default values still appear
- Press
V4 button and test the same within for OData v4 model