CASE STUDY- Identifying Use case & Actors Analyzing the Vianet Bank ATM
Background• System’s Requirements 1. The client must be able to deposit and withdraw amount using ViaNet Bank Atm. 2. The date, time, transaction type, amount, account balance must be recorded for each transaction. 3. Two types of accounts are present. i) Checking Account II) Saving Account 4. We can Access the ViaNet Bank account using a PIN code.
Contd….4. Negative balance is not allowed for boththe accounts.5. If the withdrawal amount is more thanthe balance in the checking account thenthe system automatically withdraws fromthe saving account.6. If the balance on the saving account isless than the withdrawal amount then thetransaction will stop.
Identifying actors and usecasesThe following usecases are created by using system requirements, examination of existing systems, interviews and asking questions, observation.2. Bank ATM Transaction The steps in ATM transaction usecase are Insert ATM card Perform Approval Process Ask type of Transaction Enter the type of Transaction Perform transaction Eject card Request take card Take card
Usecase’s Description2. Approval Process The Client enter the pin no, if it is valid, client’s account become active. The steps are a) Request Pin no b) Enter Pin no c) Verify Pin no3. Invalid Pin If the pin no is not valid then appropriate msg is displayed to client. This extends the approval process.
Contd….4. Deposit Amount After the approval process, the client requests to deposit money to an account. The steps are Request Account type Request Deposit amount Enter deposit amount Put the cheque or cash in envelop and insert into ATM
Contd..5. Deposit Savings The client selects the saving account type for deposit, all the steps are same to the previous one. It extends the deposit amount Usecase6. Deposit Checking The client selects the checking account type for deposit, all the steps are same to the previous one. It extends the deposit amount Usecase
Contd…7. Withdraw Amount After the approval process, the client requests to withdraw money from account. The steps are Request Account type Request Withdrawal amount Enter Withdrawal amount Verify sufficient funds Eject cash
Contd…8. Withdraw Checking• The client tries to withdraw amount from his checking account.• When the amount is less than or equal to the balance the transaction is performed.• It extends the withdraw money usecase.9. Withdraw more from Checking The client tries to withdraw amount from his checking account. When the amount is more than the balance the insufficient amount is withdrawn from the related savings account. It extends the withdraw money usecase
Insert card Enter password Password rejected Password accepted Select type of transaction more transaction Perform transactionNo more transaction Take the card
Bank ATM <<uses>>. Approval process Transaction<<extends>>. <<extends>>. Checking Invalid pin transaction history <<extends>>. <<extends>>. <<extends>>. Saving Withdraw amount transaction Deposit amount history
Approval Bank ATM <<uses>>. process Transaction<<extends>>. <<extends>>. Checking transaction Invalid pin history <<extends>>. <<extends>>. <<extends>>. Saving Withdrawtransaction Deposit amount history amount <<extends>>. <<extends>>. <<extends>>.Deposit checking withdraw checking Withdraw more <<uses>>. from checking Withdraw saving
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.