Hello all,
I started to stare at the assignment about a week ago. Just for fun I decided to try to follow UML methodology and see how it goes. Incentive for the "fun" is that I like to go for
SCEA later(if I feel confident enough). Since I cannot show figures in this post, I'll do my best to explain it in words.
I know it is not necessary or required to follow this technique for the "Developers" certification, but I appreciate all your comments.
*****************
use case 1: Book Flight
use case 2: View Flight Details
use case 3: Search Flight
use case 4: Choose operating Mode
(Book Flight) <<includes>> (View Flight Details)
(View Flight Details) <<includes>> (Search Flight)
Draw a line from Actor to use case 1
Draw a line from Actor to use case 2
Draw a line from Actor to use case 3
Draw a line from Actor to use case 4
The is slightly different from the use case described in Max Habibi's book, for a similar problem.
Question 1: Any comments on the <<includes>> part in my use cases? (Absent in Max Habibi's book)
*******************
For the Book Flight use case, I wrote the following flow of events:
(1) Main flow of events:
The use case starts when the customer enters the flight origin and flight destination. The available flight information is then displayed. The customer selects a particular flight and enters number of seats. The use case ends when the customer clicks on the "submit" button.
(2) Exceptional flow of events.
Customer can change the flight origin or flight destination before submitting. Use case restarts.
(3) Exceptional flow of events.
Customer can change the number of seats before submitting.Use case restarts.
(4) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.
(5) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.
(6) Exceptional flow of events.
The number of seats available on the flight is less than the number of seats requested by the customer. The system displays alert message. The system does not commit the entry. The use case restarts.
I have written similar use cases for the "Choose Operating mode" also but not posting it here. (Just for brevity)
Any comments?
Thanks again...
Arun