Unit three identifying actors

13
CASE STUDY - Identifying Use case & Actors Analyzing the Vianet Bank ATM

description

 

Transcript of Unit three identifying actors

Page 1: Unit three  identifying actors

CASE STUDY- Identifying Use case & Actors

Analyzing the Vianet Bank ATM

Page 2: Unit three  identifying actors

Background

• System’s Requirements1. 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.

Page 3: Unit three  identifying actors

Contd….

4. Negative balance is not allowed for both the accounts.5. If the withdrawal amount is more than the balance in the checking account then the system automatically withdraws from the saving account.6. If the balance on the saving account is less than the withdrawal amount then the transaction will stop.

Page 4: Unit three  identifying actors

Identifying actors and usecasesThe following usecases are created by using

system requirements, examination of existing systems, interviews and asking questions, observation.

1. Bank ATM TransactionThe 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

Page 5: Unit three  identifying actors
Page 6: Unit three  identifying actors

Usecase’s Description

2. Approval ProcessThe Client enter the pin no, if it is valid, client’s account become active.The steps are

a) Request Pin nob) Enter Pin noc) Verify Pin no

3. Invalid Pin If the pin no is not valid then appropriate msg is displayed to client. This extends the approval process.

Page 7: Unit three  identifying actors

Contd….

4. Deposit Amount

After the approval process, the client requests to deposit money to an account.

The steps areRequest Account typeRequest Deposit amountEnter deposit amountPut the cheque or cash in envelop and insert into

ATM

Page 8: Unit three  identifying actors

Contd..

5. Deposit SavingsThe client selects the saving account type for deposit, all the steps are same to the previous one.It extends the deposit amount Usecase

6. Deposit CheckingThe client selects the checking account type for deposit, all the steps are same to the previous one.It extends the deposit amount Usecase

Page 9: Unit three  identifying actors

Contd…

7. Withdraw Amount

After the approval process, the client requests to withdraw money from account.

The steps areRequest Account typeRequest Withdrawal amountEnter Withdrawal amountVerify sufficient fundsEject cash

Page 10: Unit three  identifying actors

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

Page 11: Unit three  identifying actors

Insert card

Enter password

Select type of

transaction

Perform transaction

Take the card

No more transaction

more transaction

Password accepted

Password rejected

Page 12: Unit three  identifying actors

Bank ATM Transaction

Approval process

Invalid pinChecking

transaction history

Withdraw amountDeposit amount

Saving transaction

history

<<extends>>.

<<extends>>.

<<uses>>.

<<extends>>.

<<extends>>.

<<extends>>.

Page 13: Unit three  identifying actors

Deposit checking

withdraw checking

Withdraw more from checking

Withdraw saving

Bank ATM Transaction

Approval process

Invalid pinChecking

transaction history

Withdraw amountDeposit

amount

Saving transaction

history

<<extends>>.

<<extends>>.

<<uses>>.

<<extends>>.

<<extends>>.

<<extends>>.

<<extends>>.<<extends>>.

<<extends>>.

<<uses>>.