Unit Testing


To execute the Order Processing application:

  1. Execute the OrderProcessing.exe file. This file is located in the /bin folder of the OrderProcessing folder. The Login Manager window appears, as shown in Figure 2-13:

    click to expand: this figure shows the login manager window using which customers and administrator can log on to the order processing application.
    Figure 2-13: The Login Manager Window

  1. Specify the user name and password for a customer and click the Login button. The Application Manager window appears, as shown in Figure 2-14:

    click to expand: this figure shows the application manager window that enables a customer to access the place order and view order status windows.
    Figure 2-14: The Application Manager Window

  1. Select Orders->Place Order to place an order. The Place Order window appears, as shown in Figure 2-15:

    click to expand: this figure shows the place order window that displays available products and enables a customer to place an order.
    Figure 2-15: The Place Order Window

  1. Select a product, specify the quantity required, and click the Add to Order button to add the product to the Your Order list, as shown in Figure 2-16:

    click to expand: this figure shows the your order list when the customer adds a product to it.
    Figure 2-16: Your Order List after the Customer Adds a Product.

  1. Add some more products to the Your Order list.

  2. Click the Place Order button to confirm and place the order. A confirmation message box appears that shows the order id of the order placed, as shown in Figure 2-17:

    click to expand: this figure shows the confirmation message box that displays the order id of the order that the customer places.
    Figure 2-17: The Confirmation Message Box

  1. Click the Close button to close the Place Order window.

  2. Select Orders->View Order Status to view the status of an order. The View Order Status window appears, as shown in Figure 2-18:

    this figure shows the view order status window that displays the status of the order that corresponds to the order id that the customer specifies.
    Figure 2-18: The View Order Status Window

  1. Specify the Order id of the order and click the View Status button to view the status of that order. The order status appears, as shown in Figure 2-19:

    this figure shows the status of the order that corresponds to the specified order id.
    Figure 2-19: The Order Status

  1. Click the Close button to close the View Order Status window.

  2. Close the Application Manager window.

  3. Specify the administrator login information in the Login Manager window and select Login. The Application Manager window appears, as shown in Figure 2-20:

    click to expand: this figure shows the application manager window that displays the options available to the administrator.
    Figure 2-20: The Application Manager Window Displaying Options for Administrator

  1. Select Orders->Update Order to update the status of pending orders. The Update Order Status window appears, as shown in Figure 2-21:

    click to expand: this figure shows the update order status window that displays the information about pending orders.
    Figure 2-21: The Update Order Status Window

  1. Select an order from the Pending Orders list and click the View Information button to view the product information for that order. The View Order Information window appears, as shown in Figure 2-22:

    click to expand: this figure shows the view order information window that displays the product information for the selected order.
    Figure 2-22: The View Order Information Window

  1. Click the Close button to close the View Order Information window.

  2. Select an order from the Pending Orders list and click the Update Order button to update the status of that order.

  3. Click the Close button to close the Update Order Status window.

  4. Close the Application Manager window.

  5. Specify the same login information, as done in Step 2.

  6. Repeat Steps 8-9 to view the status of the order that the administrator has updated. The order status appears, as shown in Figure 2-23:

    this figure shows the status of the order that the administrator updates in the update order status window.
    Figure 2-23: The View Order Status Window after Order Update

  1. Repeat Steps 10-12.

  2. Select Invoice->Raise Invoice to raise invoices for updated orders. The Raise Invoice window appears, as shown in the Figure 2-24:

    click to expand: this figure shows the raise invoice window that displays updated orders.
    Figure 2-24: The Raise Invoice Window

  1. Select an order and click the Raise button. The Invoice window appears, as shown in Figure 2-25:

    click to expand: this figure shows the invoice window that enables the administrator to generate the invoice.
    Figure 2-25: The Invoice Window

  1. Specify the shipping and handling cost and credit card information if required, and click the Generate Invoice button to generate the invoice.

  2. Click the Close button to close the Raise Invoice window.

  3. Close the Application Manager window.

  4. Repeat the Steps 8-9 to view the status of those orders where the invoice has been generated by the administrator. The View Order Status window displays the status of the invoiced order, as shown in Figure 2-26:

    this figure shows the status of those orders where the invoice is generated by the administrator.
    Figure 2-26: The View Order Status Window after Invoice Generation

  1. Click the Close button to close the View Order Status window.

  2. Close the Application Manger window.

  3. Close the Login Manager window.




NET InstantCode. UML with Visio and Visual Studio .NET
NET InstantCode. UML with Visio and Visual Studio .NET
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 49

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net