Manual Integration Test: Create Sales Order Line Items (create on relative binding)
DESCRIPTION
Test entity creation on relative bindings with the Sales Orders application.
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 Sales Orders application with following URL (adjust host and port if necessary):
Testing with backend
Configure your IDE to be able to execute the Sales Orders application against an ABAP
backend system.
Start the Sales Orders application with the URL (adjust host and port if necessary):
REALIZE and CHECK
Preparation: create a new sales order
- After the application is started, click on the
Create button in the
Sales Orders table.
- Modify the content of the
Note input field of the
Create New Sales Order dialog.
- Click on
OK in the Create New Sales Order dialog.
- Click on the
Save button in the Sales Orders table.
- Click on
OK in the Success dialog.
- Select the newly created sales order.
- Check: The
Sales Order Line Items table does not have any data.
Create a new sales order item; no refresh allowed; cancel created item
- Click on the
Create button in the Sales Order Line Items
table.
- Check: The
Sales Order Line Items table contains 1 entry.
- Check: The
Sales Order Line Items table header still shows
0 Sales Order Line Items.
- Click on
Refresh button in the Sales Orders table.
- Check: You get a warning about pending changes.
- Click on the
Cancel button.
- Click on
Cancel sales order list changes button in the
Sales Orders table.
- Check: The
Sales Order Line Items table contains still 1 entry,
because the cancellation has been done for another group ID.
- Click on
Cancel sales order changes button in the
Sales Order Details section.
- Check: The
Sales Order Line Items table contains 0 entries.
Delete transient sales order item
- Click on the
Create button in the Sales Order Line Items
table.
- Select the newly created sales order line item
- Click on
Delete button in the Sales Order Line Items
table.
- Click on the
OK button in the Sales Order Line Item Deletion
dialog.
- Check:You get a success message for the deleted sales order line item.
- Click on
OK in the Success dialog.
- Check: The
Sales Order Line Items table contains 0 entries.
Create a sales order line item; save, update and delete it
- Click on the
Create button in the Sales Order Line Items
table.
- Select the newly created sales order line item
- Click on the
Save button in the Sales Order Details
section.
- Click on
OK in the Success dialog.
- Check: The
Sales Order Line Items table header shows
1 Sales Order Line Items.
- Update the Note of the newly created sales order line item.
- Click on the
Save button in the Sales Order Details
section.
- Within realOData Mode:
- Update the Note of the just saved sales order line item.
- Update the Quantity to an invalid value of "0.0" (invalid on server side)
- Click on the
Save button in the Sales Order Details
section.
- Check:You got a error message about the invalid Quantity "0.0"
- Correct the Quantity to something greater than "0.0"
- Click on the
Save button in the Sales Order Details
section.
- Check: The
Sales Order Line Items regarding Note
and Quantity is as expected
- Click on
Delete button in the Sales Order Line Items
table.
- Click on the
OK button in the Sales Order Line Item Deletion
dialog.
- Check:You get a success message for the deleted sales order line item.
- Click on
OK in the Success dialog.
- Check: The
Sales Order Line Items table contains 0 entries.