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
- Check: (without backend only) The sales orders count is 10.
- After the application is started, click on the
Create button in the
Sales Orders table.
- 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.
- Check: That for input field
Currency Code a value help
button is displayed.
- Press the value help button and check that a value help dialog is opened.
- Check: That for each row, first column a value help
button is displayed also and the value help can be opened recursively.
- Close all value help dialogs.
- Modify the content of the
Note input field of the
Create New Sales Order dialog.
- Check: The
Note of the first sales order (table below the
dialog) is updated automatically after leaving the input field of the dialog.
- Click on
OK in the Create New Sales Order dialog.
- Check: (without backend only) The sales orders count is 11.
- Select the newly created sales order.
- Modify the content of the
Note in the newly created sales order.
- Click on the
Delete button in the Sales Orders table.
- Click on the
Cancel button in the Sales Order Deletion
dialog.
- Check: The newly created sales order is still visible.
- Click on the
Delete button in the Sales Orders table.
- Click on the
OK button in the Sales Order Deletion
dialog.
- Check: The newly created sales order is gone.
- Check: (without backend only) The sales orders count is 10.
Create a sales order, save, modify again, save and delete
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Check:The
Confirm selected sales order button in the
Sales Orders table is disabled.
- Click on the
Save button in the Sales Orders table.
- Check: You get a success message for creating the sales order.
- Click on
OK in the Success dialog.
- With backend only:
- Check:The
Confirm selected sales order button in the
Sales Orders table is enabled.
- Check: The
Sales Order ID has been updated by the server.
- For the newly created sales order enter a text in the
Note field
.
- Click on
Save button in the Sales Orders table.
- Check: You get a success message for updating the sales order.
- Click on
OK in the Success dialog.
- Select the saved sales order.
- Click on
Delete button in the Sales Orders table.
- Click on the
OK button in the Sales Order Deletion
dialog.
- Check:You get a success message for the deleted sales order.
- Click on
OK in the Success dialog.
- Check: The newly created sales order is gone.
Create a sales order, save and refresh the sales orders
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Click on the
Save button in the Sales Orders table.
- Check: You get a success message for creating the sales order.
- Click on
OK in the Success dialog.
- Click on
Refresh button in the Sales Orders table.
- Check: The first sales order is the same as the one from the initial
application start.
- 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
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
Cancel refresh
- Click on
Refresh button in the Sales Orders table.
- Check: You get a warning about pending changes.
- Click on the
Cancel button.
- Click on
Refresh all button.
- Check: You get a warning about pending changes.
- Click on the
Cancel button.
- With backend only:
- Enter a numerical value in the
Filter by gross amount... search field
above the Sales Orders table and press Enter.
- Check: You get a error because of unsaved changes.
- Click on the
Close button.
Confirm refresh
- Click on
Refresh or Refresh all button.
- Check: You get a warning about pending changes.
- Click on the
Ok button.
- Check: The newly created sales order is gone.
Create a sales order, press "cancel sales order changes" w/o saving
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Click on
Cancel sales orders changes button in the
Sales Orders table.
- Check: The newly created sales order is gone.
Cancel or resume a failed creation of a sales order
With backend only:
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Click on the
Save button in the Sales Orders table.
- 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 orders changes button in the
Sales Orders table.
- Check: The newly created sales order is gone.
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Click on the
Save button in the Sales Orders table.
- Check: A POST request for the created entity is sent to the server.
- Click again on the
Save button in the Sales Orders
table.
- Check: A POST request for the created entity is sent to the server.
- Modify the content of the
Note in the newly created sales order.
- Click on the
Save button in the Sales Orders table.
- Check: You get a success message for creating the sales order.
- Click on
OK in the Success dialog.
- Check: The
Sales Order ID has been updated by the server