Software Design & Development
The use case in below includes two additional use cases – validate account and update account and they are not directly accessible by the customer but are used by the system. 1. Use Case Diagram Use case Narrative ATM Use Cases Author: Date: March 28, 2011 Use Case Name Version: 1. 0 Use Case Type Business Requirements System Analysis Login Use case old ATM- Al Actors Description Customer The login use case is started when a customer inserts an ATM card into the card reader slot of the ATM machine.
The ATM reads the card and if the card is appropriate the user is asked to enter his Personal identification, when accepted the system displays list of transaction . To login into an account High System The ATM machine is on, Valid Card and No Card inside ATM Purpose Priority Scope Pre condition Typical course of action 1) A customer inserts an ATM card into the card reader slot of the ATM machine. 2) The ATM reads the card. 3) The customer requested to enters his/her PIN 4) The PIN is validated 5) The result of “Validate Account” is passed back to user. Post condition Alternative Flow of events
If successful, a confirmation is sent to the user for successful login and Menu displayed on screen. 1. The customer has entered invalid PIN- the system prompts to enter valid PIN. 2. If the ATM card is not compatible or damaged- The system displays error message and ejects the card. Logout ATM- LO When the customer finishes his transaction, he submits for logout, then system ejects the card from the machine and session ends. To logout from an account User must have logged in. 2 1) User submits request for logout. 2) The system will terminate all accesses for this user. Card ejects from the machine If successful, user will be logged out of the system and will not be able to access any functionalities. Withdrawal ATM-W Customer (primary), Bank (Secondary) Withdrawal Use case asks customer to choose the withdrawal amount from the menu or insert amount as per the format on the screen. The system first verifies that it has sufficient amount in the ATM machine and then only verifies from Bank. If transaction is approved , machine dispenses cash and then issues a receipt. Later second confirmation message is send to bank for updating account.
To withdraw cash Very high User must have logged into account 1 . The customer selects the ‘Cash Withdrawal’ option from the Options Menu. 2. The system prompts the customer to enter the amount of cash that he or she wants to withdraw. 3. The customer enters a cash amount and selects the ‘Submit’ option on the Cash Withdrawal Screen. 4. The system validates the amount entered; checks account balance and that the machine has enough cash for the transaction, and asks the customer if he or she wants a receipt for the transaction. 5 . The customer selects Yes’ on the Receipts Screen. The system provides the cash, prints the receipt and updates the account balance of the customer in the system. 7. Then the customer is provided with a menu to do another transaction or to logout Alternative Flow of events If successful, the given amount is subtracted from the balance of the amount 1 . The customer has entered an amount that exceeds the withdrawal limit or account balance- The system rejects the transaction and displays error. 3 Deposit ATM-D Customer, Bank This use case enables the customer to withdraw cash from the ATM machine.