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

  1. After the application is started, click on the Create button in the Sales Orders table.
  2. Modify the content of the Note input field of the Create New Sales Order dialog.
  3. Click on OK in the Create New Sales Order dialog.
  4. Click on the Save button in the Sales Orders table.
  5. Click on OK in the Success dialog.
  6. Select the newly created sales order.
  7. Check: The Sales Order Line Items table does not have any data.

Create a new sales order item; no refresh allowed; cancel created item

  1. Click on the Create button in the Sales Order Line Items table.
  2. Check: The Sales Order Line Items table contains 1 entry.
  3. Check: The Sales Order Line Items table header still shows 0 Sales Order Line Items.
  4. Click on Refresh button in the Sales Orders table.
  5. Check: You get a warning about pending changes.
  6. Click on the Cancel button.
  7. Click on Cancel sales order list changes button in the Sales Orders table.
  8. Check: The Sales Order Line Items table contains still 1 entry, because the cancellation has been done for another group ID.
  9. Click on Cancel sales order changes button in the Sales Order Details section.
  10. Check: The Sales Order Line Items table contains 0 entries.

Delete transient sales order item

  1. Click on the Create button in the Sales Order Line Items table.
  2. Select the newly created sales order line item
  3. Click on Delete button in the Sales Order Line Items table.
  4. Click on the OK button in the Sales Order Line Item Deletion dialog.
  5. Check:You get a success message for the deleted sales order line item.
  6. Click on OK in the Success dialog.
  7. Check: The Sales Order Line Items table contains 0 entries.

Create a sales order line item; save, update and delete it

  1. Click on the Create button in the Sales Order Line Items table.
  2. Select the newly created sales order line item
  3. Click on the Save button in the Sales Order Details section.
  4. Click on OK in the Success dialog.
  5. Check: The Sales Order Line Items table header shows 1 Sales Order Line Items.
  6. Update the Note of the newly created sales order line item.
  7. Click on the Save button in the Sales Order Details section.
  8. Within realOData Mode:
    1. Update the Note of the just saved sales order line item.
    2. Update the Quantity to an invalid value of "0.0" (invalid on server side)
    3. Click on the Save button in the Sales Order Details section.
    4. Check:You got a error message about the invalid Quantity "0.0"
    5. Correct the Quantity to something greater than "0.0"
    6. Click on the Save button in the Sales Order Details section.
    7. Check: The Sales Order Line Items regarding Note and Quantity is as expected
  9. Click on Delete button in the Sales Order Line Items table.
  10. Click on the OK button in the Sales Order Line Item Deletion dialog.
  11. Check:You get a success message for the deleted sales order line item.
  12. Click on OK in the Success dialog.
  13. Check: The Sales Order Line Items table contains 0 entries.