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 back end
Configure your IDE to be able to execute the Sales Orders application against an ABAP
back end system.
Start the Sales Orders application with the URL (adjust host and port if necessary):
REALIZE and CHECK
Modify Company Name in the Business Partner Details and check that Buyer Name in the
Sales Order List is updated accordingly after saving.
- Check: That you got the first
5 of n sales orders
in the Sales Orders table with title "n New Sales Orders",
whereas n is exactly 10 without back end.
- Press the
More button in the Sales Orders table.
- Check: That you got the next
5 sales orders in the Sales
Orders table. Without back end the More button now is gone.
- Select the first sales order and check that the
Sales Order Details
becomes visible.
- In the
Business Partner details change the Company Name to
SAP - modified by OPA (without back end) or any other value (with back
end).
- Press the
Save Sales Order button.
- Check That in the
Sales Orders table the Buyer Name
is updated accordingly for all sales orders having the same business partner.
Create, modify and delete of an unsaved sales order
- Select the first sales order.
- Click on the
Value Help button for Categoryin the
Sales Order Line Items table.
- Check: The title of the
Value Help is
"Value Help: Category (Modified Mapping)".
- Close the
Value Help dialog.
- 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.
- Close the
Value Help dialog.
- 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 back end only)
The sales orders count is 11 new and 23 overall.
- 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.
- Check: The newly created sales order is gone.
- Check: (without back end only) The sales orders count is 10.
- Click on the
Save button in the Sales Orders table.
Create a sales order, save, modify again, save and delete
- 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.
- 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 back end 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.
- Check: The overall sales orders count has increased by one.
- For the newly created sales order enter a text in the
Note field
.
- Click on
Save button in the Sales Orders table.
- Select the saved sales order.
- Click on
Delete button in the Sales Orders table.
- Check: The newly created sales order is gone.
- Check: (with back end only)
The overall sales orders count has decreased by one.
Create a sales order, save and refresh the sales orders
- 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.
- Check: You get a success message for creating the sales order.
- Click on
OK in the Success dialog.
- Check: (without back end only) The sales orders count is 11.
- 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 back end 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
- 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 all button.
- Check: You get a warning about pending changes.
- Click on the
Cancel button.
- With back end only:
- Enter a numerical value in the
Filter by gross amount... search
field above the Sales Orders table and press Enter.
- Check: The list is properly filtered and the newly created sales order
still exists.
- Click on
Refresh button in the Sales Orders table.
- Check: The newly created sales order still exists.
Confirm refresh
- Click on
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.
- Check: (without back end only) The sales orders count is 10.
Cancel or resume a failed creation of a sales order
With back end only:
- Click on the
Create button in the Sales Orders table.
- Click on
OK in the Create New Sales Order dialog.
- Type in
RAISE_ERROR into the Note input field of the new
row.
- Click on the
Save button in the Sales Orders table.
- Check:You get an error regarding invalid value for the
Note.
- Click on
Refresh button in the Sales Orders table.
- Check: The newly created sales order is not yet gone.
- 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.
- Type in
RAISE_ERROR into 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.
- Check: A POST request for the created entity is sent to the server and you
got the above error.
- Click again on the
Save button in the Sales Orders
table.
- Check: A POST request for the created entity is sent to the server and you
got the above error again.
- 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