Advanced Use Case Diagram and Model


Published on

Published in: Education
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Advanced Use Case Diagram and Model

  1. 1. Live from QBI Institute at NOIDA (NCR DELHI)
  2. 2. • Are UML behavior diagrams, a business analyst can start the project by preparing Use Case Diagrams• Use case diagrams were originally proposed by Dr. Iver Jacobson when he was working at Ericsson• Use cases represent the functionality of system and they capture interaction of human and non human entities called actors with the system.• System or Subsystem for which Use Case Diagram is prepared is called Subject• Use case notations include : System Boundary, Actor, Use Case and Relationships• Use case scenarios : Same use case in its different instance can take up a different scenario. For example for Use case Withdraw cash for different instances scenarios can be : 1) Inadequate Cash Available hence do not dispense 2) Adequate Cash hence dispense 3) Adequate cash but currency denomination as asked for not available hence do not dispense 4) Adequate Cash but customer account is not having adequate balance
  3. 3. Actors are people or systems which interactwith Use cases. Actor role name is writtenbelow the notation of actor which is a Stickman.Notation for Use case is ellipse. Use case namecan be written inside or below the ellipse. Thename can contain text, numerals. Strings etcexcept colon (:) For a multiple worded Use casefirst word is upper case and subsequent wordsare lower case with space
  4. 4. System boundary is shownby a rectangle. Use cases Relationship between actor and an use case iswhich lie inside are the shown by a solid linefunctionality of the system
  5. 5. Arrow initiates from the specializedactor and points towards the towardsthe more general actor . For the sake ofunderstanding an MD Doctor who canperform complex surgeries and alsoroutine surgical procedures isspecialized. An MBBS who is trained inroutine surgical procedures isgeneralized actor.Arrow initiates from specialized usecase name and towards generalizeduse case. E.g. Bill payment isGeneralized use case and Bill paymentthrough cheque, DD or cash arespecialized use cases
  6. 6. Some times one use case may optionallyextend its functionality to another usecase. Arrow initiates from extending usecase to extended use caseArrow initiates from including use case andpoints towards included use case. Forexample if after a particular transaction SMSis invariably send then Transaction (includinguse case) includes Send sms which is(included use case)
  7. 7. A Flipped rectangle is notation for condition.It is used in extend relationship between usecases. Any condition is written within curlybracketsA Flipped rectangle is notation for comment.It is used for any comment or explanation
  8. 8. Primary Actors Initiate the Use Case. Secondaryactors do not initiate the Use Case.For example if we have a banking system in whichwhenever the account holder withdraws cash aninformation SMS is sent to the a/c holder throughSMS Software here the Account holder is Primaryactor and SMS software is Secondary Actor
  9. 9. Method 1: Write in a paragraph sequence of activities happening in a use caseMethod 2: For ever actor prepare a table which will have two columns, column onthe left will have actor stimuli and column on the right will mention systemresponseMethod 3: Any other procedure or Standard document template used in yourorganization
  10. 10. This is electricity bill payment process of PVVNL LtdElectricity subscribers or their representatives collectively called Bill payees canmake the bill payment by going to the local electricity office and handing overcheque or demand draft or cash to the Bill receiver. Bill receiver updates thepayment in the electricity bill payment system.Alternatively the bill payees can make the payment online through credit card,debit card, net banking or cash. The online payment is received by DPS Transactsystem which is the payment gateway service of DPS bank.Under both the payment methods after the payment is received an SMS is sent tothe subscriber by SMS software system which is invoked through Electricity BillPayment System
  11. 11. • Any one (Electricity Subscriber or his representative)can make the bill payment if they have District Name, Book Number, Connection Number and Division Name of the Subscriber)• Electricity bill payment software allows its subscribers to view their bill and payment details online. For the same every electricity subscriber is provided with a subscriber id and password . Through this subscriber id and password a subscriber can view his bills and corresponding payments. To make the online bill payment a bill payee does not need the subscriber id and password.• Electricity bill payment software is managed by an administrator who can view master reports (total amount outstanding etc.), disallow payments by cheque for individual subscribers if their cheque have bounced earlier and also receive bill payments if any particular bill receiver is absent
  12. 12. Identify ActorsBill ReceiverAdministratorSMS SoftwareBill PayeeSubscriber
  13. 13. Receive bill paymentPayment by chequePayment by cashPayment by ddSend smsView master reportsDisallow cheque paymentView payment reports