ATM ProjectUse-case Specification: Validate User Date: <19/Feb/!"
ATMUse-Case: Validate User 
1Brief Description
T#is $se case describes %eneral be#a&ior for t#e ATM to &alidate t#e $ser' (t incl$des all steps t#at are t#e sa)e no )ater *#at +ind of transaction t#e ,an+ $sto)er does'
2Actors
2.1Bank Custome2.2Bank
3reconditions
T#ere is an acti&e net*or+ connection to t#e ,an+'
!Basic "lo# of $%ents
1'T#e $se case be%ins *#en t#e ,an+ $sto)er inserts t#eir ,an+ ard'.'T#e ATM reads t#e code fro) t#e )a%netic strip of t#e ,an+ ard and c#ec+s *it# t#e ,an+ to see if it is an acceptable ,an+ ard' T#e ,an+ confir)s t#e card is &alid''T#e ATM as+s for t#e c$sto)er P(0 code 2 di%its3'2'T#e ,an+ $sto)er enters a P(04'T#e ATM &alidates t#e P(0 *it# t#e ,an+' T#e ,an+ confir)s t#e P(0 is &alid'5'T#e ATM displa6s t#e different alternati&es t#at are a&ailable on t#is $nit'!'T#e $se case ends' T#e flo* contin$es accordin% to t#e flo* of t#e specific transaction3'
&Alternati%e "lo#s
&.1'ot a %alid card
(f in step . of t#e basic flo* t#e card is in&alid7 t#en 1't#e ATM s#all displa6 a 8sorr6 not a &alid card8 )essa%e and ret$rn t#e card.'t#e $se case ends *it# an indication of t#e fail$re
&.2(ron) *' +1
st
 and 2
nd
 time,
(f in step 4 of t#e basic flo* t#e P(0 is in&alid7 t#en 1't#e ATM s#all displa6 a sorr6 in&alid P(0 )essa%e .'T#e $se case res$)es at step 
&.3(ron) *' +tird time,
(f in step 4 of t#e basic flo* an incorrect P(0 is entered for t#e t#ird ti)e7 t#en 1't#e ATM s#all displa6 a sorr6 in&alid P(0 ; Please contact 6o$r branc# )essa%e'.'T#e card is +ept b6 t#e ATM and a receipt is printed tellin% #o* and *#ere to %et a ne* card''T#e $se case ends *it# an indication of t#e fail$re
&.!'o esponse from Bank
(f in steps . or 4 of t#e basic flo* t#ere is no response fro) t#e ,an+ *it#in  seconds7 t#en Pa%e 1 of .
 
ATM ProjectUse-case Specification: Validate User Date: <19/Feb/!"1't#e ATM *ill re-tr67 $p to t#ree ti)es .'(f t#ere is still no response fro) t#e ,an+7 t#e ATM s#all displa6 t#e )essa%e 0et*or+ $na&ailable ; tr6 a%ain later't#e ATM s#all ret$rn t#e card2't#e ATM s#all indicate t#at it is losed4't#e $se case ends *it# an indication of t#e fail$re
&.&'o esponse from Bank Customer 
(f in step 2 of t#e basic flo* t#ere is no response fro) t#e ,an+ $sto)er *it#in 14 seconds7 t#en 1't#e ATM s#all iss$e a *arnin% so$nd and displa6 t#e )essa%e Please enter P(0 .'(f t#ere is still no response fro) t#e ,an+ $sto)er *it#in 14 seconds t#e ATM *ill storet#e card internall6't#e $se case ends *it# an indication of t#e fail$re
&./0tolen Card
(f in step .7 t#e ,an+ indicates t#at t#is is a stolen card7 t#en 1'#at s#all *e do= Ta+e a pict$re of t#e $ser= 0otif6 t#e police=>
This is a typical way to use Use Cases. You can write your questions right down in the text and when you  get your answers you'll have to correct it. Another way to do it: is to assume one way either they like it or they tell you how it should e
?
/ost-conditions
/.10uccessful Completion
(f t#e $se case ends in s$ccess7 t#e $ser is &alidated and )a6 contin$e *it# t#e specific transaction'
/.2"ailure Condition
(f t#ere is a fail$re to &alidate t#e $ser7 t#e ATM s#all lo% t#e e&ent incl$din% t#e reason for t#e fail$re'
0pecial euirements
>Sp@e:VU-1? T#e ATM s#all +eep a lo%7 incl$din% date and ti)e7 of all co)plete and inco)plete transactions *it# t#e ,an+'Pa%e . of .
of 2