Unit Testing


To execute the Airlines Reservation application:

  1. Execute the AirlinesReservation.exe file. This file is located in the /bin folder of the AirlinesReservation folder. The Application Manager window appears, as shown in Figure 5-10:

    click to expand: this figure shows the application manager window that enables an end user to access the airlines, aircrafts, and reservation windows.
    Figure 5-10: The Application Manager Window

  1. Select Airlines to add new airlines. The Airlines window appears, as shown in Figure 5-11:

    click to expand: this figure shows the airlines window that displays existing airlines information and enables an end user to delete existing airlines and add new airlines.
    Figure 5-11: The Airlines Window with Airlines Information

  1. Specify the information in the Airlines window about the new airlines, as shown in Figure 5-12:

    click to expand: this figure shows the information about a new airline in the airlines window.
    Figure 5-12: Airlines Information in Airlines Window

  1. Click the Add Airline button. The new airlines information adds to Existing Airlines, as shown in Figure 5-13:

    click to expand: this figure shows the airlines window after an end user adds a new airline.
    Figure 5-13: Added Airlines Information in Airlines Window

  1. Click Close button to close the Airlines window.

  2. Click Aircrafts to add a new aircraft. The Aircrafts window appears, as shown in Figure 5-14:

    click to expand: this figure shows the aircrafts window that displays information for all aircrafts that belong to an airline.
    Figure 5-14: The Aircrafts Window with Aircrafts Information

  1. Specify the Aircraft Id for a new aircraft and select Airline Code, as shown in Figure 5-15:

    click to expand: this figure shows the aircraft id and airline code for the new aircraft.
    Figure 5-15: Aircraft Information in Aircrafts Window

  1. Click the Add Aircraft button. The new aircraft information is added to Existing Aircrafts, as shown in Figure 5-16:

    click to expand: this figure shows the aircrafts window after an end user adds a new aircraft.
    Figure 5-16: Added Aircraft Information in Aircrafts Window

  1. Click the Close button to close the Aircrafts window.

  2. Select Reservation in Application Manager window to reserve a seat for a traveler . The Reservation window appears, as shown in Figure 5-17:

    click to expand: this figure shows the reservation window that displays buttons for the reserved seats for an aircraft in red.
    Figure 5-17: The Reservation Window

  1. Select Airline Code and Aircraft Id, specify the Traveler Name , and click the Reserve button to reserve a seat for that traveler. The Seats group box that contains the available seats as a combination of a row number and a location in that row is enabled, as shown in Figure 5-18:

    click to expand: this figure shows the row and location combination that enables an end user to select a seat for a traveler.
    Figure 5-18: Reserving a Seat for a Traveler

  1. Click a button in a row to reserve a seat represented by that button. The Confirmation window appears, as shown in Figure 5-19:

    click to expand: this figure shows the confirmation window that displays the reservation information that an end user specifies in the reservation window.
    Figure 5-19: The Confirmation Window

  1. Specify the Traveler Id for the traveler and click the Confirm button to confirm the reservation information and reserve a seat for the specified traveler. The reserved seat appears in Red, as shown in Figure 5-20:

    click to expand: this figure shows the seat that an end user reserves for a traveler.
    Figure 5-20: The Reserved Seat

  1. Click the Close button to close the Reservation 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