Manual Integration Test: Create Sales Order

DESCRIPTION

Test entity creation 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

Create, modify and delete of an unsaved sales order

  1. Check: (without backend only) The sales orders count is 10.
  2. After the application is started, click on the Create button in the Sales Orders table.
  3. Check: The table below the Create New Sales Order dialog gets a new row with an empty Sales Order ID and the Note as displayed in the Create New Sales Order dialog.
  4. Check: That for input field Currency Code a value help button is displayed.
  5. Press the value help button and check that a value help dialog is opened.
  6. Check: That for each row, first column a value help button is displayed also and the value help can be opened recursively.
  7. Close all value help dialogs.
  8. Modify the content of the Note input field of the Create New Sales Order dialog.
  9. Check: The Note of the first sales order (table below the dialog) is updated automatically after leaving the input field of the dialog.
  10. Click on OK in the Create New Sales Order dialog.
  11. Check: (without backend only) The sales orders count is 11.
  12. Select the newly created sales order.
  13. Modify the content of the Note in the newly created sales order.
  14. Click on the Delete button in the Sales Orders table.
  15. Click on the Cancel button in the Sales Order Deletion dialog.
  16. Check: The newly created sales order is still visible.
  17. Click on the Delete button in the Sales Orders table.
  18. Click on the OK button in the Sales Order Deletion dialog.
  19. Check: The newly created sales order is gone.
  20. Check: (without backend only) The sales orders count is 10.

Create a sales order, save, modify again, save and delete

  1. Click on the Create button in the Sales Orders table.
  2. Click on OK in the Create New Sales Order dialog.
  3. Check:The Confirm selected sales order button in the Sales Orders table is disabled.
  4. Click on the Save button in the Sales Orders table.
  5. Check: You get a success message for creating the sales order.
  6. Click on OK in the Success dialog.
  7. With backend only:
    1. Check:The Confirm selected sales order button in the Sales Orders table is enabled.
    2. Check: The Sales Order ID has been updated by the server.
    3. For the newly created sales order enter a text in the Note field .
    4. Click on Save button in the Sales Orders table.
    5. Check: You get a success message for updating the sales order.
    6. Click on OK in the Success dialog.
  8. Select the saved sales order.
  9. Click on Delete button in the Sales Orders table.
  10. Click on the OK button in the Sales Order Deletion dialog.
  11. Check:You get a success message for the deleted sales order.
  12. Click on OK in the Success dialog.
  13. Check: The newly created sales order is gone.

Create a sales order, save and refresh the sales orders

  1. Click on the Create button in the Sales Orders table.
  2. Click on OK in the Create New Sales Order dialog.
  3. Click on the Save button in the Sales Orders table.
  4. Check: You get a success message for creating the sales order.
  5. Click on OK in the Success dialog.
  6. Click on Refresh button in the Sales Orders table.
  7. Check: The first sales order is the same as the one from the initial application start.
  8. Check (with backend only): The new sales order is inserted at the right position (considering sort and filter criterion); maybe you have to click on the More button of the Sales Orders table to see the new sales order.

Create a sales order, refresh/filter w/o saving -> expected "pending changes" message

  1. Click on the Create button in the Sales Orders table.
  2. Click on OK in the Create New Sales Order dialog.

Cancel refresh

  1. Click on Refresh button in the Sales Orders table.
  2. Check: You get a warning about pending changes.
  3. Click on the Cancel button.
  4. Click on Refresh all button.
  5. Check: You get a warning about pending changes.
  6. Click on the Cancel button.
  7. With backend only:
    1. Enter a numerical value in the Filter by gross amount... search field above the Sales Orders table and press Enter.
    2. Check: You get a error because of unsaved changes.
    3. Click on the Close button.

Confirm refresh

  1. Click on Refresh or Refresh all button.
  2. Check: You get a warning about pending changes.
  3. Click on the Ok button.
  4. Check: The newly created sales order is gone.

Create a sales order, press "cancel sales order changes" w/o saving

  1. Click on the Create button in the Sales Orders table.
  2. Click on OK in the Create New Sales Order dialog.
  3. Click on Cancel sales orders changes button in the Sales Orders table.
  4. Check: The newly created sales order is gone.

Cancel or resume a failed creation of a sales order

With backend only:
  1. Click on the Create button in the Sales Orders table.
  2. Click on OK in the Create New Sales Order dialog.
  3. Click on the Save button in the Sales Orders table.
  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 orders changes button in the Sales Orders table.
  8. Check: The newly created sales order is gone.
  9. Click on the Create button in the Sales Orders table.
  10. Click on OK in the Create New Sales Order dialog.
  11. Click on the Save button in the Sales Orders table.
  12. Check: A POST request for the created entity is sent to the server.
  13. Click again on the Save button in the Sales Orders table.
  14. Check: A POST request for the created entity is sent to the server.
  15. Modify the content of the Note in the newly created sales order.
  16. Click on the Save button in the Sales Orders table.
  17. Check: You get a success message for creating the sales order.
  18. Click on OK in the Success dialog.
  19. Check: The Sales Order ID has been updated by the server