atm document 3rd

Upload: bharath-reddy

Post on 04-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Atm Document 3rd

    1/82

  • 8/13/2019 Atm Document 3rd

    2/82

    ATM Simulator

    DECLARATION

    We here by declare that the project entitled SECURED/DATAPROCEEDING/IN/

    BANKING/DOMAIN !b"itted in partial #!l#ill"ent o# the re$!ire"ent #or a%ard o#the de&ree o# 'achelor o# Technolo&y at SAI/SUDHIR INSTITUTE OF

    ENGINEERING 0 TECHNOLOGY FOR OMEN( a##iliated to!a3a4arlal N,4ru

    T,546olo7y U6i8,r-ityi an a!thentic %or) and ha not been !b"itted to any other

    *ni+erity,Intit!te #or a%ard o# any de&ree,diplo"a-

    KUNDANPALLY KEESARA1 '###&*

    +##$/+#&2

    S.SATHI

    Y.RA!ESARI

    P.SAPNA

    !.NEHARIKA

    Si76atur, o9 HOD Si76atur, o9 9a5ulty

    .

  • 8/13/2019 Atm Document 3rd

    3/82

    ATM Simulator

    ACKNOLEDGEMENT

    It &i+e ! i""ene plea!re to e/pre o!r deep ene o# &ratit!de to :SAISUDHIR INSTITUTE OF ENGINEERING 0TECHNOLOGY FOR OMEN #or

    "oti+atin& the t!dent o# o!r #ac!lty and to "a)e ! e/plore the project( and to &et the

    baic idea o# a project in a +ery "all period o# e"eter-

    We %ih to place on o!r record o!r deep ene o# &ratit!de to o!r project &!ide( Mr.

    Sa6,,; #or hi contant "oti+ation( +al!able help( technical &!idance and !per+iion

    in carryin& o!t thi project %or)-

    We %o!ld li)e to ta)e thi opport!nity to than) M-. Ar54a6a10ead o# the Depart"ent

    o# CSE( #or hi +al!able !&&etion and ad+ice thro!&ho!t the '-Tech co!re- We

    e/tend o!r than) to the #ac!lty o# Co"p!ter #or their cooperation( enco!ra&e"ent-

    2inally %e %o!ld li)e to than) o!r #riend #or their cooperation to co"plete thi project-

    S.SATHI

    Y.RA!ESARI

    P.SAPNA

    !.NEHARIKA

    3

  • 8/13/2019 Atm Document 3rd

    4/82

    ATM Simulator

    C4a;t,r /&

    A

  • 8/13/2019 Atm Document 3rd

    5/82

    ATM Simulator

    CONTENTS &.

    I6trou5tio65555555555555555555555555-

    1-1- 6r&ani7ationPro#ile555555555555555555555555

    1-. P!rpoe o# theProject5555555555555555555555--

    1-3- Proble" in E/itin&Syte"555555555555555555555

    1-4- Sol!tion o# TheeProble"555555555555555555555

    +. F,a-i

  • 8/13/2019 Atm Document 3rd

    6/82

    ATM Simulator

    *.

    D,-i7655555555555555555555555555555555555

    4-1- E : RDia&ra"5555555555555555555555555--

    4-.- *M;Dia&ra"5555555555555555555555555-

    4-3- DataDictionary5555555555555555555555555--

    '.

    Im;l,m,6tatio65555555555555555555555

    5555555--

    9-1- I"po rtance o#

  • 8/13/2019 Atm Document 3rd

    7/82

    ATM Simulator

    B-.- Tetin&Proce5555555555555555555555555--

    =.

    S,5urity555555555555555555555555555555555---

    -1 Sec!rity inSo#t%are555555555555555555555555

    $.

    Co65lu-io655555555555555555555555555555555

    .Bi

  • 8/13/2019 Atm Document 3rd

    8/82

    ATM Simulator

    CHAPTER/&

    INTRODUCTION

    &.& ;ur;o-,

    The p!rpoe o# thi project i to de+elop a %eb application %hich i"!late the ATM

    Machine- 'y !in& thi application !er can per#or" di##erent operation %hich are bein&

    per#or"ed at the ATM Machine or in the ban)- 'y !in& thi application !er can chan&e

    hi pa%ord or en$!ire the balance or depoit the "oney or %ithdra% the "oney or can

    &enerate the "ini tate"ent-

    &.+ S5o;,

    The cope o# the project i +ery +at( a it tar&et lar&e no o# people reidin& o+er

    the %orld- Anyone ha+in& the acce to the internet can hop #or their deired ite"- It

    &ained "a/i"!" !er o+er the %orld-

    &.2 PRO!ECT O>ER>IE

    'y !in& thi application !er can per#or" di##erent operation %hich are bein&

    per#or"ed at the ATM Machine or in the ban)- 'y !in& thi application !er can

  • 8/13/2019 Atm Document 3rd

    9/82

    ATM Simulator

    chan&e hi pa%ord or en$!ire the balance or depoit the "oney or %ithdra% the

    "oney or can &enerate the "ini tate"ent-

    &.* PRO!ECT DESCRIPTION

    'y !in& thi application !er can per#or" di##erent operation %hich are bein&

    per#or"ed at the ATM Machine or in the ban)- 'y !in& thi application !er can chan&e

    hi pa%ord or en$!ire the balance or depoit the "oney or %ithdra% the "oney or can

    &enerate the "ini tate"ent-

    'y !in& %ithdra% #!nctionality( !er per#or" %ithdra% operation( Thi

    operation %or) a "entioned belo%-

    When !er enter %ithdra% a"o!nt it chec) %hether there i !##icient a"o!nt in

    the acco!nt- I# there i !##icient a"o!nt a&ain it chec) %hether it reache the threhold

    +al!e i# "oney i %ithdra%- I# it reache threhold +al!e then it ho% Mini"!"

    balance "ea&e-

    I# it doe not reach the threhold +al!e then it %ill chec) ho% "!ch "oney ha

    been %ithdra%n on that day- I# that reache .9( then it %ill ho% Mea&e other %ie

    it proce the operation-

    Depoit #!nctionality allo% the !er to depoit an a"o!nt o# "oney into acco!nt-

    When !er enter depoitin& a"o!nt( it %ill a) the !er to deno"inate #or that a"o!nt-

    6nce !er enter correct deno"ination the tranaction %ill be preceded and then ho%

    !cce#!l "ea&e to !er-

    'alance en$!iry #!nctionality let the !er to )no% abo!t the c!rrent tat! o# the

    acco!nt i-e-( the balance o# the acco!nt-

    Thi application alo &enerate the "ini tate"ent-

    I# any o# the abo+epeci#ied #!nction #ail the correpondin& error "ea&e %illbe diplayed %hich "a)e the project #riendlier to the !er- The application o#t%are i

    de+eloped %ith MyS$l databae and *I baed #ront end tool

  • 8/13/2019 Atm Document 3rd

    10/82

    ATM Simulator

    i"portantly portability o+er di##erent yte"-

  • 8/13/2019 Atm Document 3rd

    11/82

    ATM Simulator

    per#or"ed by ta)in& the ATM Card N!"ber %hich i pro+ided by the correpondin&

    ban)-

    +.* O;,rati67 E68iro6m,6t@

    So#t%are Re$!ire"ent are Windo% a 6peratin& Syte"- 0TM;( Cacadin&

    Style Sheet and

  • 8/13/2019 Atm Document 3rd

    12/82

    ATM Simulator

    Mi6i Stat,m,6t Moul,

    it4ra3 Moul,@

    'y !in& thi "od!le !er per#or" %ithdra% operation( thi operation %or) a

    "entioned belo%-

    When !er enter %ithdra% a"o!nt it chec) %hether there i !##icient a"o!nt in

    the acco!nt- I# there i !##icient a"o!nt a&ain it chec) %hether it reache the threhold

    +al!e i# "oney i %ithdra%- I# it reache threhold +al!e then it ho% Mini"!"

    balance "ea&e- I# it doe not reach the threhold +al!e then it %ill chec) ho% "!ch

    "oney ha been %ithdra%n on that day- I# that reache .9( then it %ill ho% Mea&e

    other %ie it proce the operation-

    D,;o-it Moul,J

    Thi "od!le allo% the !er to depoit an a"o!nt o# "oney into acco!nt- When

    !er enter depoitin& a"o!nt( it %ill a) the !er to deno"inate #or that a"o!nt- 6nce

    !er enter correct deno"ination the tranaction %ill be preceded and then ho%

    !cce#!l "ea&e to !er-

    Bala65, E6uiry Moul,@

    Thi "od!le let the !er to )no% abo!t the c!rrent tat! o# the acco!nt i-e-( the

    balance o# the acco!nt-

    Mi6i Stat,m,6t Moul,J

    Thi "od!le &i+e the "ini tate"ent o# an acco!nt- When !er !e thi "od!le

    to )no% +ie% a "ini tate"ent then it ho% the lat 1 tranaction that %ere per#or"ed

    on hiKK acco!nt alon& %ith the detail li)e type o# tranaction >Withdra%,Depoit?Lthat

    %a per#or"ed

    1.

  • 8/13/2019 Atm Document 3rd

    13/82

    ATM Simulator

    +.= HARDARE AND SOFTARE REUIREMENTS

    Har ar, R,uir,m,6t-

    ProceorJJ Penti!"III >or? 0i&her

    Ra"JJ 4M' >or? 0i&her

    CacheJJ 91.M'

    0ard di)JJ 1'

    So9t ar, R,uir,m,6t-

    ToolJJ Micro So#t 2ront

    6peratin& Syte"JJ Windo%NT,.

    Ser+er SideJJ

  • 8/13/2019 Atm Document 3rd

    14/82

    ATM Simulator

    C4a;t,r 2

    FEASIBILITY STUDY

    2. FEASIBILITY STUDY@

    The ne/t tep in analyi i to +eri#y the #eaibility o# the propoed yte"- All

    project are #eaible &i+en !nli"ited reo!rce and in#inite ti"e- '!t in reality both

    reo!rce and ti"e are carce- Project ho!ld con#ir" to ti"e bo!nce and ho!ld be

    opti"al in there con!"ption o# reo!rce- Thi place a contant i appro+al o# any

    project-

    2eaibility ha applied to ATM Simulatorpertain to the #ollo%in& areaJ

    Technical #eaibility

    6perational #eaibility

    Econo"ical #eaibility

    2.&TECHNICAL FEASIBILITY@

    To deter"ine %hether the propoed yte" i technically #eaible( %e ho!ld ta)e into

    conideration the technical i!e in+ol+ed behind the yte"-

    14

  • 8/13/2019 Atm Document 3rd

    15/82

  • 8/13/2019 Atm Document 3rd

    16/82

    ATM Simulator

    C4a;t,r * SYSTEM DESIGN

    SYSTEM DESIGN

    Syte" dei&n i tranition #ro" a !er oriented doc!"ent to pro&ra""er or data

    bae peronnel- The dei&n i a ol!tion( ho% to approach to the creation o# a ne%

    yte"- Thi i co"poed o# e+eral tep- It pro+ide the !ndertandin& and proced!ral

    detail neceary #or i"ple"entin& the yte" reco""ended in the #eaibility t!dy-

    Dei&nin& &oe thro!&h lo&ical and phyical ta&e o# de+elop"ent( lo&ical dei&n

    re+ie% the preent phyical yte"( prepare inp!t and o!tp!t peci#ication( detail o#

    i"ple"entation plan and prepare a lo&ical dei&n %al)thro!&h-

    The databae table are dei&ned by analy7in& #!nction in+ol+ed in

    the yte" and #or"at o# the #ield i alo dei&ned- The #ield in the databae table

    ho!ld de#ine their role in the yte"- The !nneceary #ield ho!ld be a+oided beca!e

    it a##ect the tora&e area o# the yte"- Then in the inp!t and o!tp!t creen dei&n( the

    dei&n ho!ld be "ade !er #riendly- The "en! ho!ld be precie and co"pact-

    SOFTARE DESIGN

    In dei&nin& the o#t%are #ollo%in& principle are #ollo%edJ

    1- Moularity a6 ;artitio6i67J o#t%are i dei&ned !ch that( each yte" ho!ld

    conit o# hierarchy o# "od!le and er+e to partition into eparate #!nction-

    .- Cou;li67@ "od!le ho!ld ha+e little dependence on other "od!le o# a yte"-

    3- Co4,-io6@"od!le ho!ld carry o!t in a in&le procein& #!nction-

    1

  • 8/13/2019 Atm Document 3rd

    17/82

    ATM Simulator

    4- S4ar, u-,@a+oid d!plication by allo%in& a in&le "od!le i called by other that need

    the #!nction it pro+ide

    *.& UML Dia7ram-

    U-, 5a-, Dia7ram 9or t4, U-,rA55ou6t Hol,r

    1B

  • 8/13/2019 Atm Document 3rd

    18/82

    ATM Simulator

    User

    Deposite

    Login

    Invalid User

    include

    include

    extend

    includeMini Statement

    With Draw

    Balance Enquiry

    include

    Cant WithdrawMore than

    !"### per a dayMinimum Balance

    Shoul $e there

    Cla-- Dia7ram

    1

  • 8/13/2019 Atm Document 3rd

    19/82

    ATM Simulator

    Balance

    Balance%Id&intBalance%Date&Date'mount&int

    With Draw

    WithDraw%ID&intWithDraw%'mount&intWithDraw%Date&Date

    '(M

    '(M%)um$er&int'ddress&String

    1

    'uthentication'uthentication%Id&String*assword&String

    1

    1

    1

    1

    1..*

    Branch

    Branch%Id&intBranch%)ame&String'ddress&StringMo$ile)o&int

    'ccount%(ype

    'ccount(ype%Id&int'ccount%)um$er&int

    1

    1..*

    Card

    Card%Id&intE+piry Date&Date

    1 1

    1

    1..*

    1..*

    1

    Deposite

    Deposite%Id&int'mount&int

    Date&Date(housands&int,ive%-undreds&int-undred&int

    Mode

    Mode%Id&intMode%)ame&String

    1..*

    1

    1

    1

    1..*

    1

    User

    'ccount%)um$er&int)ame&String'ddress&S(ring

    .ccupation&String.pening%Date&DateMo$ile)o/String*assWord&String0ender&String

    Balance Enquiry12&intDeposite12&StringWithDraw12&intMinistatement12&

    1

    1..*

    S,u,65, Dia7ram 9or D,;o-it

    1G

  • 8/13/2019 Atm Document 3rd

    20/82

    ATM Simulator

    User System Database

    Login

    Authentication

    Valid UserDisplays enu

    Authenticating

    Selects Deposite

    Displayse Deposite!orm

    "nters Deposite Amount

    Updating

    Updated

    Update the Deposite and#alance in$ormation

    %our &ransaction has been completed

    .

  • 8/13/2019 Atm Document 3rd

    21/82

    ATM Simulator

    *.+ DATABASE DESIGN@

    Car

    'ranch

    AtmMa54i6,

    A55ou6tTy;,

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 'RANC0LID>P? INT>19? PRIMAR E

    . 'RANC0LNAME =ARC0AR>4? N6T N*;;

    3 ADDRESS =ARC0AR>3? N6T N*;;

    4 M6'I;E N6 INT>19? N6T N*;;

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 CARDID>P? INT>19? PRIMAR E

    . EOPIR DATE DATE N6T N*;;

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 'RANC0LID>P? INT>19? PRIMAR E

    . 'RANC0LNAME =ARC0AR>4? N6T N*;;

    3 ADDRESS =ARC0AR>3? N6T N*;;

    4 M6'I;E N6 INT>19? N6T N*;;

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 ATMLID>P? INT>19? PRIMAR E

    . ADDRESS =ARC0AR>4? N6T N*;;

    3 'RANC0LID INT>19? N6T N*;; 'RANC0

    .1

  • 8/13/2019 Atm Document 3rd

    22/82

    ATM Simulator

    USERACCOUNT

    BALNACE

    ITHDRA

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 ACC6*NTTPELID>P? INT>19? PRIMAR E

    . ACC6*NTLNAME =ARC0AR>4? N6T N*;;

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 ACC6*NTLN*M'ER>P? INT>19? PRIMAR E

    . NAME =ARC0AR>4? N6T N*;;

    3 ADDRESS =ARC0AR>4? N6T N*;;

    4 6CC*PATI6N =ARC0AR>4? N6T N*;;

    9 6PENEDLDATE DATE N6T N*;;

    M6'I;EN6 INT N6T N*;;

    B ENDER =ARC0AR>? N6T N*;;

    CARDID>2? INT>19? N6T N*;; CARD

    G 'RANC0LID>2? INT>19? N6T N*;; 'RANC0

    1 ACC6*NTTPELID >2? INT>19? N6T N*;; ACC6*NTLTPE

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 'A;ANCELID>P? INT>19? PRIMAR E

    . 'A;ANCE =ARC0AR>4? N6T N*;;

    3 'A;ANCELDATE DATE N6T N*;;

    4 ACC6*NTLN*M'ER>2? INT>19? N6T N*;; ACC6*NTLTPE

    ..

  • 8/13/2019 Atm Document 3rd

    23/82

    ATM Simulator

    DEPOSIT

    *.* ER Dia7ram-

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 WIT0DRAWLID>P? INT>19? PRIMAR E

    . WIT0DRAWLAM6*NT INT>19? N6T N*;;

    3 WIT0DRAWLDATE DATE N6T N*;;

    4 ACC6*NTLN*M'ER>2? =ARC0AR>4? N6T N*;; ACC6*NTLTPE9 ATMLID INT>19? N6T N*;; ATMLMAC0INE

    SNO COLUMN NAME DATA TYPE

    "SIE(

    CONSTRAINTS

    "KEY(

    REFERENCES

    FROM

    1 DEP6SITLID>P? INT>19? PRIMAR E

    . AM6*NT INT>19? N6T N*;;

    3 DEP6SIT LDATE DATE N6T N*;;

    4 T06*SANDS INT>19? N6T N*;;

    9 2I=E 0*DREDS INT>19? N6T N*;;

    0*NDREDS INT>19? N6T N*;;

    B ACC6*NTLN*M'ER>2? =ARC0AR>4? N6T N*;; ACC6*NTLTPE

    ATMLID INT>19? N6T N*;; ATMLMAC0INE

    U-,rA55ou6t Bra654 %ith

    .3

  • 8/13/2019 Atm Document 3rd

    24/82

    ATM Simulator

    USERACCOUNT

    ACC6*NTLN*M'ER>P?

    NAME

    ADDRESS

    6CC*PATI6N

    6PENEDLDATE

    M6'I;EN6

    ENDER

    'RANC0LID >2?BRANCH

    'RANC0LID>P?

    'RANC0LNAME

    ADDRESS

    M6'I;E N6

    U-,rA55ou6t

  • 8/13/2019 Atm Document 3rd

    25/82

    ATM Simulator

    BALANCE

    'A;ANCELID>P?

    'A;ANCE

    'A;ANCELDATE

    ACC6*NTLN*M'ER>2?

    U-,rA55ou6t 3it4ra3 %ith

    USERACCOUNT

    ACC6*NTLN*M'ER>P?

    NAME

    ADDRESS

    6CC*PATI6N6PENEDLDATE

    M6'I;EN6

    ENDERITHDRA

    WIT0DRAWLID>P?

    WIT0DRAWLAM6*NT

    WIT0DRAWLDATE

    ACC6*NTLN*M'ER>2?

    .9

  • 8/13/2019 Atm Document 3rd

    26/82

    ATM Simulator

    U-,rA55ou6t D,;o-it %ith

    USERACCOUNT

    ACC6*NTLN*M'ER>P?

    NAME

    ADDRESS

    6CC*PATI6N

    6PENEDLDATE

    M6'I;EN6

    ENDERDEPOSIT

    DEP6SITLID>P?

    AM6*NT

    DEP6SIT LDATE

    T06*SANDS

    2I=E 0*DREDS

    0*NDREDS

    ACC6*NTLN*M'ER>2?

    .

  • 8/13/2019 Atm Document 3rd

    27/82

    ATM Simulator

    ATMma54i6, D,;o-it %ith

    ATMMACHINE

    ATMLID>P?

    ADDRESSDEPOSIT

    DEP6SITLID>P?

    AM6*NT

    DEP6SIT LDATE

    T06*SANDS

    2I=E 0*DREDS

    0*NDREDSATMLID>2?

    ATMma54i6, 3it4ra3 %ith

    ATMMACHINE

    ATMLID>P?

    ADDRESSITHDRA

    WIT0DRAWLID>P?

    WIT0DRAWLAM6*NT

    WIT0DRAWLDATE

    ATMLID>2?

    .B

  • 8/13/2019 Atm Document 3rd

    28/82

    ATM Simulator

    ATMma54i6, P?

    ADDRESS

    'RANC0LID>2?

    BRANCH'RANC0LID>P?

    'RANC0LNAME

    ADDRESS

    M6'I;E N6

    Aut4,6ti5atio6 Car 3it4

    AUTHENTICATION

    A*T0ENTICATI6NLID>P?

    PASSW6RD

    CARDID>2?

    CARD

    CARDID>P?

    EOPIR DATE

    .

  • 8/13/2019 Atm Document 3rd

    29/82

    ATM Simulator

    Tra6-a5tio6 D,;o-iti o#type

    DEPOSIT

    DEP6SITLID>P?

    AM6*NT

    DEP6SIT LDATE

    T06*SANDS2I=E 0*DREDS

    0*NDREDS

    ACC6*NTLN*M'ER>2?

    ATMLID>2?

    Tra6-a5tio6 3it4ra3i o#type

    .G

  • 8/13/2019 Atm Document 3rd

    30/82

    ATM Simulator

    TRANSACTION

    TRANSACTI6NLID>P?

    DATE

    TRANSLTPE

    WIT0DRAWLID>2?ITHDRA

    WIT0DRAWLID>P?

    WIT0DRAWLAM6*NT

    WIT0DRAWLDATE

    Tra6-a5tio6 u-,ra55ou6ti o#type

    TRANSACTION

    TRANSACTI6NLID>P?

    DATE

    TRANSLTPE

    ACC6*NTLN*M'ER> 2?

    USERACCOUNT

    ACC6*NTLN*M'ER>P?

    NAME

    ADDRESS

    6CC*PATI6N6PENEDLDATE

    M6'I;EN6

    ENDER

    3

  • 8/13/2019 Atm Document 3rd

    31/82

    ATM Simulator

    C4a;t,r/ '

    INPUTOUTPUT DESIGNS

    I6;ut ,-i76@coniderin& the re$!ire"ent( proced!re to collect the neceary inp!t

    data in "ot e##iciently dei&ned- The inp!t dei&n ha been done )eepin& in +ie% that(

    the interaction o# the !er %ith the yte" bein& the "ot e##ecti+e and i"pli#ied %ay-

    Alo the "ea!re are ta)en #or the #ollo%in&

    Controllin& the a"o!nt o# inp!t

    A+oid !na!thori7ed acce to the *ni+eral Doier

    Eli"inatin& e/tra tep

    eepin& the proce i"ple

    At thi ta&e the inp!t #or" and creen are dei&ned-

    Out;ut ,-i76@ All the creen o# the yte" are dei&ned %ith a +ie% to pro+ide the

    !er %ith eay operation in i"pler and e##icient %ay( "ini"!" )ey tro)e poible-

    Intr!ction and i"portant in#or"ation i e"phai7ed on the creen- Al"ot e+ery creen

    i pro+ided %ith no error and i"portant "ea&e and option election #acilitate-

    E"phai i &i+en #or peedy procein& and peedy tranaction bet%een the creen-

    31

  • 8/13/2019 Atm Document 3rd

    32/82

    ATM Simulator

    Each creen ai&ned to "a)e it a "!ch !er #riendly a poible by !in& interacti+e

    proced!re- So to ay !er can operate the yte" %itho!t "!ch help #ro" the operatin&

    "an!al-

    3.

  • 8/13/2019 Atm Document 3rd

    33/82

    ATM Simulator

    C4a;t,r /%

    IMPLEMENTATION

    O>ER>IE OF SOFTARE E>ELOPMENT TOOLS

    %.& HTML

    0t"l i a lan&!a&e %hich i !ed to create %eb pa&e %ith ht"l "ar)in& !p a pa&e to

    indicate it #or"at( tellin& the %eb bro%er %here yo! %ant a ne% line to be&in or ho%

    yo! %ant te/t or i"a&e ali&ned and "ore are poible-

    We !ed the #ollo%in& ta& in o!r project-

    TABLE@

    Table are o pop!lar %ith %eb pa&e a!thor i that they let yo! arran&e the ele"ent o# a

    %eb pa&e in !ch a %ay that the bro%er %onFt rearran&e the" %eb pa&e a!thor

    #re$!ently !e table to tr!ct!re %eb pa&e-

    TR@

    TR i !ed to create a ro% in a table encloe T0Q and

    TDQ ele"ent- TRQ contain "any attrib!te- So"e o# the" are(

    A;INJ peci#ie the hori7ontal ali&n"ent o# the te/t in the

    table ro%-

    'C6;6RJ Speci#ie the bac)&ro!nd color #or the ro%-

    '6RDERC6;6RJ Set the e/ternal border color #or the ro%-

    =A;INJ Set the +ertical ali&n"ent o# the data in thi ro%-

    TH@

    T0Q i !ed to create table headin&-

    33

  • 8/13/2019 Atm Document 3rd

    34/82

    ATM Simulator

    A;INJ Set the hori7ontal ali&n"ent o# the content in the table

    cell- Set ;E2T( RI0T( CENTER-

    'ACR6*NDJ Specie the bac) &ro!nd i"a&e #or the table

    cell-

    'C6;6RJ Speci#ie the bac)&ro!nd color o# the table cell

    =A;INJ Set the +ertical ali&n"ent o# the data- Set to T6P(

    MIDD;E( '6TT6M or 'ASE;INE-

    WIDT0J Speci#ie the %idth o# the cell- Set to a pi/el %idth or a

    percenta&e o# the diplay area-

    TD@

    TDQ i !ed to create table data that appear in the cell o# atable-

    A;INJ Specie the hori7ontal ali&n"ent o# content in the table

    cell- Set to ;E2T( CENTER( RI0T-

    'C6;6RJ Speci#ie the bac)&ro!nd i"a&e #or the table cell-

    'C6;6RJ et the bac)&ro!nd color o# the table cell-

    WIDT0J Specie the %idth o# the cell

    FRAMES@

    2ra"e are !ed #or either r!n o## the pa&e or diplay only "all

    lice o# %hat are !ppoed to be ho%n and to con#i&!re the #ra"e %e can !e

    2RAMESETQthere are t%o i"portant point to conider %hen %or)in& %ith

    2RAMESETQ-

    2RAMESETQ ele"ent act!ally ta)e the place o# the '6DQ ele"ent

    in a doc!"ent-

    Speci#yin& act!al pi/el di"enion #or #ra"e-

    2RAMEQ Ele"ent are !ed to create act!al #ra"e-

    34

  • 8/13/2019 Atm Document 3rd

    35/82

    ATM Simulator

    2ro" the #ra"eet point o# +ie% di+idin& the bro%er into to% +ertical #ra"e

    "ean creatin& t%o col!"n !in& the 2RAMESETQ ele"ent C6;S

    attrib!te-

    The ynta/ #or +ertical #ra&"entation i(2RAMESET C6;S 9( 9Q

    ,2RAMESETQ

    Si"ilarly i# %e replace C6;S %ith R6WS then %e &et hori7ontal #ra&"entation-

    The ynta/ #or hori7ontal #ra&"entation i(

    2RAMESET R6WS9( 9Q

    ,2RAMESETQ

    FORM@

    The p!rpoe o# 26RM i to create an 0TM; #or" !ed to encloe 0TM;

    control( li)e b!tton and te/t #ield-

    ATTRIBUTES@

    ACTI6NJ i+e the *R; that %ill handle the #or" data-

    NAMEJ i+e the na"e to the #or" o yo! can re#erence it in

    code et to an alphan!"eric trin&-

    MET06DJ "ethod or protocol i !ed to endin& data to the

    tar&et action *R;- The ET "ethod i the de#a!lt( it i !ed to end all #or" na"e,+al!e

    pair in#or"ation in an *R;- *in& the P6ST "ethod( the content o# the #or" are

    encoded a %ith the ET "ethod( b!t are ent in en+iron"ent +ariable-

    CONTROLS IN HTML

    INP*T TPE '*TT6NQJ

    Create an ht"l b!tton in a #or"-

    39

  • 8/13/2019 Atm Document 3rd

    36/82

    ATM Simulator

    ATTRI'*TESJ

    NAMEJ &i+e the ele"ent a na"e- Set to alphan!"eric character-

    SIUEJ et the i7e-

    =A;*EJ et the caption o# the ele"ent-

    INP*T TPE PASSW6RDQJ

    Create a pa%ord te/t #ield( %hich "a)e typed inp!t-

    ATTRI'*TESJ

    NAMEJ &i+e the ele"ent a na"e( et to alphan!"eric character-

    =A;*EJ et the de#a!lt content o# the ele"ent-

    INP*T TPERADI6QJ

    Create a radio b!tton in a #or"-

    ATTRI'*TEJ

    NAMEJ i+e the ele"ent a na"e- Set to alphan!"eric character-

    =A;*EJ Set the de#a!lt content o# the ele"ent-

    INP*T TPES*'MITQJ Create a !b"it b!tton that the !er can clic) to end data in the #or" bac) to the

    %eb er+er-

    ATTRI'*TESJ

    NAMEJ i+e the ele"ent a na"e- Set to alphan!"eric character-

    =A;*EJ i+e thi b!tton another label beide the de#a!lt( S!b"it @!ery- Set to

    alphan!"eric character-

    INP*T TPETEOTQJ

    Create a te/t #ield that the !er can enter or edit te/t in-

    ATTRI'*TESJ

    NAMEJ i+e the ele"ent a na"e- Set to alphan!"eric character-

    =A;*EJ 0old the initial te/t in the te/t #ield- Set to alphan!"eric character-

    3

  • 8/13/2019 Atm Document 3rd

    37/82

    ATM Simulator

    %.+ !A>A SCRIPT

    ASCRIPT METHODS@

    rit,l6@

    Doc!"ent-%riteln >? i a "ethod( %hich i !ed to

    %rite o"e te/t to the c!rrent %eb pa&e-

    O6Cli5J@

    6cc!r %hen an ele"ent i clic)ed-

    o6Loa@

    6cc!r %hen the pa&e load-

    o6Mou-,Do36@

    6cc!r %hen a "o!e b!tton &oe do%n-

    o6Mou-,Mo8,@

    6cc!r %hen the "o!e "o+e-

    o6U6loa@

    6cc!r %hen a pa&e i !nloaded-

    3B

  • 8/13/2019 Atm Document 3rd

    38/82

    ATM Simulator

    %.2 MySL

    The databae ha beco"e an inte&ral part o# al"ot e+ery h!"anV li#e- Witho!t

    it( "any thin& %e do %o!ld beco"e +ery tedio!( perhap i"poible ta)- 'an)(

    !ni+eritie( and librarie are three e/a"ple o# or&ani7ation that depend hea+ily on

    o"e ort o# databae yte"- 6n the Internet( earch en&ine( ATM (and e+en the

    %ebite na"in& con+ention >httpJ,,%%%---? %o!ld be i"poible %itho!t the !e o# a

    databae- A databae that i i"ple"ented and inter#aced on a co"p!ter i o#ten ter"ed a

    databae er+er-

    6ne o# the #atet S@; >Str!ct!red @!ery ;an&!a&e? databae er+er c!rrently on the

    "ar)et i the MyS@; er+er-MyS@;( a+ailable #or do%nload( o##er the databae

    pro&ra""er %ith an array o# option and capabilitie rarely een in other databae

    er+er- WhatV "ore( MyS@; i #ree o# char&e #or thoe %ihin& to !e it #or pri+ate and

    co""ercial !e- Thoe %ihin& to de+elop application peci#ically !in& MyS@; ho!ld

    con!lt MyS@;V licenin& ection( a there i a char&e #or licenin& the prod!ct-

    Thee capabilitie ran&e acro a n!"ber o# topic( incl!din& the #ollo%in&J

    Ability to handle an !nli"ited n!"ber o# i"!ltaneo! !er-

    Capacity to handle 9((H record-

    =ery #at co""and e/ec!tion( perhap the #atet to be #o!nd on the "ar)et-

    Eay and e##icient !er pri+ile&e yte"-

    A databae i really nothin& "ore than a hierarchy o# increain&ly co"ple/ data

    tr!ct!re- In MyS@;( the ac)no%led&ed tr!ct!re #or holdin& bloc) >or r,5or-? o#

    in#or"ation i called the ta

  • 8/13/2019 Atm Document 3rd

    39/82

    ATM Simulator

    table hold the collection o# record that "a)e !p part o# the databae- We can conider

    the hierarchy o# a databae to be that o# the #ollo%in&J

    Databae Table Record Datatype

    Datatype co"e in e+eral #or" and i7e( allo%in& the pro&ra""er to create table

    !ited #or the cope o# the project- The deciion "ade in chooin& proper datatype

    &reatly in#l!ence the per#or"ance o# a databae( o it i %ie to ha+e a detailed

    !ndertandin& o# thee concept-

    MySL Dataty;,-

    MyS@; i capable o# "any o# the datatype that e+en the no+ice pro&ra""er ha

    probably already been e/poed to- So"e o# the "ore co""only !ed incl!deJ

    CHAR (M)

    C0ARV are !ed to repreent #i/ed len&th trin&- A C0AR trin& can ran&e #ro" 1.99

    character- In later table creation( an e/a"ple C0AR datatype %o!ld be declared a

    #ollo%J

    e/-

    car_model CHAR(10);

    VARCHAR (M)

    =ARC0AR i a "ore #le/ible #or" o# the C0AR data type- It alo repreent data o#

    type Strin&( yet tore thi data in +ariable len&th #or"at- A&ain( =ARC0AR can hold 1

    .99 character- =ARC0AR i !!ally a %ier choice than C0AR( d!e to itV +ariable

    len&th #or"at characteritic- Altho!&h( )eep in "ind that C0AR i "!ch #ater than

    =ARC0AR( o"eti"e !p to 9-

    >A C0AR tore the %hole len&th o# the declared +ariable( re&ardle o# the i7e o# the

    data contained %ithin( %herea a =ARC0AR only tore the len&th o# the data( th!

    red!cin& i7e o# the databae #ile-?

    e/-car_model VARCHAR(10);

    3G

  • 8/13/2019 Atm Document 3rd

    40/82

    ATM Simulator

    INT (M) [Unsigned]

    The INT datatype tore inte&er ran&in& #ro" .14B434 to .14B434B- An optional

    !ni&ned can be denoted %ith the declaration( "odi#yin& the ran&e to be to

    4.G4GB.G9

    e/-light_years INT;

    =alid inte&erJ V.49BV- In+alid inte&erJ V3V-

    e/-light_years INT unsigned;

    =alid inte&erJ V3V- In+alid inte&erJ V.49BV-

    FLOAT [(M,D)]

    A 2;6AT repreent "all deci"al n!"ber( !ed %hen a o"e%hat "ore precie

    repreentation o# a n!"ber i re$!ired-

    e/-

    rainfall FLOAT (4,2);

    Thi co!ld be !ed to repreent rain#all a+era&e in centi"eter per year( %hich co!ld be a

    deci"al +al!e- More peci#ically( 2;6AT >4(.? tate the #act that rain#all can hold !p to

    #o!r character and t%o deci"al place- Th!(

    4.-39 i +alid( acc!rately repreented-

    3.4-49 i in+alid( ro!nded to 3.4-9-

    .-. i +alid( acc!rately repreented-

    34-94. i in+alid( ro!nded to 34-94-

    Note: Due to the fact that FLOAT is rounded, those wishing to represent money alues

    would find it wise to useDEC!A", a datatype found within !y"#L that does not round

    alues$ %onsult the documentation for a complete e&planation$

    DATE

    Store date related in#or"ation- The de#a!lt #or"at i VMMDDV( and ran&e #ro"

    VV to VGGGG1.31V- MyS@; pro+ide a po%er#!l et o# date #or"attin& and

    4

  • 8/13/2019 Atm Document 3rd

    41/82

    ATM Simulator

    "anip!lation co""and( too n!"ero! to be co+ered %ithin thi article- 0o%e+er( one

    can #ind thee #!nction co+ered in detail %ithin the MyS@; doc!"entation-

    the_date DATE;

    TEXT / BLOB

    The te/t and blob datatype are !ed %hen a trin& o# .99 9939 character i re$!ired

    to be tored- Thi i !e#!l %hen one %o!ld need to tore an article !ch a the one yo!

    are readin&- 0o%e+er( there i no end pace tr!ncation a %ith =ARC0AR AND C0AR-

    The only di##erence bet%een ';6' and TEOT i that TEOT i co"pared cae

    ineniti+ely( %hile ';6' i co"pared cae eniti+ely-

    SET

    A datatype o# type trin& that allo% one to chooe #ro" a dei&nated et o# +al!e( be it

    one +al!e or e+eral +al!e- 6ne can dei&nate !p to 4 +al!e-

    e/-

    transport SET ("truck", "wagon") NOT NULL;

    2ro" the abo+e declaration( the #ollo%in& +al!e can be held by tranportJ

    ""

    "truck"

    "wagon"

    "truck,wagon"

    ENUM

    A datatype o# type trin& that ha the a"e characteritic a the SET datatype( b!t only

    one et o# allo%ed +al!e "ay be choen- *!ally only ta)e !p one byte o# pace( th!

    a+in& ti"e and pace %ithin a table-

    e/-transport ENUM ("truck", "wagon") NOT NULL;

    2ro" the abo+e declaration( the #ollo%in& +al!e can be held by tranportJ

    41

  • 8/13/2019 Atm Document 3rd

    42/82

  • 8/13/2019 Atm Document 3rd

    43/82

    ATM Simulator

    Ot4,r ta%& %NT N'T NLL AT'%NCREMENT,>PR%MAR* +E* (%&))

    Inertion o# data into the table i acco"plihed( lo&ically eno!&h( !in& the INSERTco""and-

    MySQL>%NSERT %NT' test VALES

    MySQL>(-B".s B"!!y-, -/a$$ts0eshe3/m-,Mys4l>555621, NLL)

    43

  • 8/13/2019 Atm Document 3rd

    44/82

    ATM Simulator

    Re!lt( a!"in& the co""and %a correctly enteredJ

    Q"e$y '+, 1 $7 a88e/te (9392 se/)Mys4l>

    S,l,5tio6

    A databae %o!ld not be "!ch !e i# one %a not able to earch and e/tract data #ro" it-In MyS$l ter"( thi i acco"plihed thro!&h the SE;ECT tate"ent-

    Mys4l>SELECT : ;R'M test

    Mys4l>

  • 8/13/2019 Atm Document 3rd

    45/82

    ATM Simulator

    Mys4l>P&ATE test SET !ame = -&a88y &"/@-

    Mys4l>

  • 8/13/2019 Atm Document 3rd

    46/82

    ATM Simulator

    Re!ltJAll record containin& the na"e '!& '!nny AND the phone n!"ber V99943.1V %ill bediplayed to the creen-

    OR " (

    Mys4l>SELECT : ;R'M test (!ame = B".s B"!!y) 'R

    Mys4l>(?h!e!"m#e$ = 555621)

    Re!ltJAll record containin& the na"e '!& '!nny 6R the phone n!"ber V99943.1V %ill bediplayed to the creen-

    NOT "(

    Mys4l>SELECT : ;R'M test (!ame = B".s B"!!y)

    Re!ltJAll record N6T containin& the na"e '!& '!nny %ill be diplayed to the creen-

    Or,r By

    Mys4l>SELECT : ;R'M test (!ame = B".s B"!!y) 'R&ER B*Mys4l>?h!e!"m#e$

    Re!ltJAll record containin& the na"e '!& '!nny %ill be diplayed to the creen( ordered inrepect to the phoneLn!"ber-

    S,ar54 9u65tio6-

    MyS@; o##er the !er the ability to per#or" both &eneral and peci#ic earche on data-

    Mys4l>SELECT : ;R'M test (!ame L%+E as B"!!y)

    Re!ltJAll record containin& the partial trin& & '!nny %ill be diplayed to the creen- Thi%o!ld incl!de !ch na"e aJ '!& '!nny( a& '!nny( & '!nny( and .34rt&'!nny-

    4

  • 8/13/2019 Atm Document 3rd

    47/82

    ATM Simulator

    Notice that ;IE ha been !ed intead o# the e$!al i&n >?- ;IE i&ni#ie thatone i earchin& #or an eti"ate o# the data re$!eted( and not necearily an e/act copy-

    The VV i&n co!ld be placed any%here %ithin the trin&- The "ethod in %hich the er+erearche #or a trin& i dependent !pon %here one place the VV i&n-

    Mys4l>SELECT : ;R'M test (!ame L%+E B".s B"!!y )

    Re!ltJAll record containin& the partial trin& '!& '!nny %ill be diplayed to the creen-Thi %o!ld incl!de !ch na"e aJ '!& '!nny( '!& '!nnyyyy493( '!&'!nnytrtrtrtrtr( b!t not & '!nny-

    Fo5u-, S,ar54 R,-ult-

    6ne can alo per#or" earche and diplay only certain col!"n-

    Mys4l>SELECT !ame ;R'M test (!ame = B".s B"!!y)

    Re!ltJ

    name

    Bugs Bunny

    Alt,r taALTER ta#le test RENAME mytest

    E/a"pleJ Add a col!"n

    Mys4l>ALTER ta#le mytest A&& #i$thay &ATE

    E/a"pleJ Modi#y a col!"n

    4B

  • 8/13/2019 Atm Document 3rd

    48/82

    ATM Simulator

    Mys4l>ALTER ta#le mytest CHANEMys4l>!ame !e7!ame VARCHAR (25)

    E/a"pleJ Delete a col!"n

    Mys4l>ALTER ta#le mytest &R'P !e7!ame

    E/ec!tin& the abo+e #o!r #!nction %o!ld "odi#y tet( creatin& the #ollo%in& tableJ

    Mys4l>TABLE mytest (

    >email VARCHAR (25),>Ph!e !"m#e$ %NT,

    >%& %NT AT'%NCREMENT,>#i$thay &ATE)

    DRI>ER MANAGER AND DRI>ER@

    The ja+a-$l pac)a&e de#ine an inter#ace called

  • 8/13/2019 Atm Document 3rd

    49/82

    ATM Simulator

    ja+a-$l-Dri+erMana&er that act a the inter#ace to the databae client #or per#or"in&

    ta) li)e connectin& to e/ternal reo!rce "ana&er( and ettin& lo& trea"- When a

  • 8/13/2019 Atm Document 3rd

    50/82

    ATM Simulator

    P!blic tatic Connection &etConnection >Strin& !rl( Propertie in#o? thro%

    S@;E/ception

    Thi "ethod &et a connection to the databae by the peci#ied

  • 8/13/2019 Atm Document 3rd

    51/82

    ATM Simulator

    !DBC RESULTSETS@

    A

  • 8/13/2019 Atm Document 3rd

    52/82

    ATM Simulator

    The inter#ace ja+a-$l-Sta"ent i nor"ally !ed #or endin& S@; tate"ent that do

    not ha+e IN or 6*T para"eter- The trin& $l? thro% S@;E/ception

    The #ollo%in& #i&!re ho% ho% the Dri+erMana&er( Dri+er( Connection( State"ent(

    Re!ltSet clae are connected-

    9.

    Dri+erMana&er

    Dri+erDri+er;ayer

    Application;ayer Connection

    Prepared State"ent State"ent Callable State"ent

    Re!lt Set Re!lt SetRe!lt Set

  • 8/13/2019 Atm Document 3rd

    53/82

    ATM Simulator

    %.* !A>A SER>ER PAGES "!SP(

    INTRODUCTION@

  • 8/13/2019 Atm Document 3rd

    54/82

    ATM Simulator

    yo!r project( yo! can en#orce a %ea)er or tron&er eparation bet%een the tatic

    0TM; and the dyna"ic content-

    CREATING TEMPLATE TET@

    A lar&e percenta&e o# o!r

  • 8/13/2019 Atm Document 3rd

    55/82

    ATM Simulator

    USING !SP EPRESSIONS@

    A ? Q

    PREDEFINED >ARIABLES@

    To i"pli#y e/preion %e can !e a n!"ber o# prede#ined +ariable >or i"plicit

    object?- The pecialty o# thee +ariable i that( the yte" i"ple tell %hat na"e it

    %ill !e #or the local +ariable in LjpSer+ice-The "ot i"portant one o# thee areJ

    R,u,-t( the 0ttpSer+letRe$!et-

    R,-;o6-,( the 0ttpSer+letRepone-

    -,--io61the 0ttpSeion aociated %ith the re$!et

    Out1the %riter !ed to end o!tp!t to client-

    A;;li5atio61the Ser+letConte/t- Thi i a data tr!ct!re hared by all er+let and

  • 8/13/2019 Atm Document 3rd

    56/82

  • 8/13/2019 Atm Document 3rd

    57/82

    ATM Simulator

    Z 2ield or Method De#inition Q

    Since declaration do not &enerate o!tp!t( they are nor"ally !ed in conj!nction %ith

  • 8/13/2019 Atm Document 3rd

    58/82

    ATM Simulator

    #or *NIO yte"?

    are #!nctional d!plicate o# the ]-bat #ile >#or Windo% yte"?- Since the Win3.

    co""andline lac) certain #!nctionality( there are o"e additional #ile in here-

    5o69 Con#i&!ration #ile and related DTD- The "ot i"portant #ile in here i

    er+er-/"l- It i the "ain con#i&!ration #ile #or the container-

    lo7- ;o& #ile are here by de#a!lt-

    3,

  • 8/13/2019 Atm Document 3rd

    59/82

    ATM Simulator

    /0A&AL+1A234"-5ebapps-644&-SomeDirectory

    0orresponding U6Lshttp,--host-SomeDirectory-Some!ile.htmlhttp,--host-SomeDirectory-Some!ile.sp

    Individual Servlet and Utility Class ,iles

    ain Location (0lasses 5ithout 'ac7ages)./0A&AL+1A234"-5ebapps-644&-8"#9+1!-classes

    0orresponding U6L (Ser:lets).http,--host-ser:let-Ser:let1ame

    ore Speci$ic Location (0lasses in 'ac7ages)./0A&AL+1A234"-5ebapps-644&-8"#9+1!-classes-pac7age1ame

    0orresponding U6L (Ser:lets in 'ac7ages).http,--host-ser:let-pac7age1ame.Ser:let1ame

    Servlet and Utility Class ,iles Bundled in 3'4 ,iles

    Location

    /0A&AL+1A234"-5ebapps-644&-8"#9+1!-lib

    0orresponding U6Ls (Ser:lets)http,--host-ser:let-Ser:let1amehttp,--host-ser:let-pac7age1ame.Ser:let1ame

    9G

    http://host/SomeDirectory/SomeFile.htmlhttp://host/SomeDirectory/SomeFile.jsphttp://host/servlet/ServletNamehttp://host/servlet/packageName.ServletNamehttp://host/servlet/ServletNamehttp://host/servlet/packageName.ServletNamehttp://host/SomeDirectory/SomeFile.htmlhttp://host/SomeDirectory/SomeFile.jsphttp://host/servlet/ServletNamehttp://host/servlet/packageName.ServletNamehttp://host/servlet/ServletNamehttp://host/servlet/packageName.ServletName
  • 8/13/2019 Atm Document 3rd

    60/82

    ATM Simulator

    C4a;t,r /)

    TESTING

    ) .SOFTARE TESTING

    T,-ti67

    So#t%are tetin& i a critical ele"ent o# o#t%are $!ality a!rance and

    repreent the !lti"ate re+ie% o# peci#ication( dei&n and code &eneration.

    ).& TESTING OB!ECTI>ES

  • 8/13/2019 Atm Document 3rd

    61/82

    ATM Simulator

    To en!re that d!rin& operation the yte" %ill per#or" a per

    peci#ication-

    T6 "a)e !re that yte" "eet the !er re$!ire"ent d!rin& operation

    To "a)e !re that d!rin& the operation( incorrect inp!t( procein& and

    o!tp!t %ill be detected

    A &ood tet cae i one that ha a hi&h probability o# #indin& an a yet

    !ndico+ered error

    The o#t%are de+eloped ha been teted !cce#!lly !in& the #ollo%in& tetin&

    trate&ie and any error that are enco!ntered are corrected and a&ain the part o# thepro&ra" or the proced!re or #!nction i p!t to tetin& !ntil all the error are re"o+ed- A

    !cce#!l tet i one that !nco+er an a yet !ndico+ered error-

    Note that the re!lt o# the yte" tetin& %ill pro+e that the yte" i %or)in&

    correctly- It %ill &i+e con#idence to yte" dei&ner( !er o# the yte"( pre+ent

    #r!tration d!rin& i"ple"entation proce etc-(

    ).+ TEST CASE DESIGN@

    4it,

  • 8/13/2019 Atm Document 3rd

    62/82

    ATM Simulator

    Bla5J Bo? T,-ti67

    'lac) 'o/ Tetin& atte"pt to #ind error in #ollo%in& area or cate&orie( incorrect or

    "iin& #!nction( inter#ace error( error in data tr!ct!re( per#or"ance errorinitiali7ation and ter"ination error- 0ere all the inp!t data "!t "atch the data type to

    beco"e a +alid entry-

    The #ollo%in& are the di##erent tet at +ario! le+elJ

    U6it T,-ti67@

    *nit tetin& i eentially #or the +eri#ication o# the code prod!ced d!rin&

    the codin& phae and the &oal i tet the internal lo&ic o# the "od!le,pro&ra"- In the

    eneric code project( the !nit tetin& i done d!rin& codin& phae o# data entry

    #or" %hether the #!nction are %or)in& properly or not- In thi phae all the

    dri+er are teted they are ri&htly connected or not-

    I6t,7ratio6 T,-ti67@

    All the teted "od!le are co"bined into !b yte"( %hich are then teted-

    The &oal i to ee i# the "od!le are properly inte&rated( and the e"phai bein& on

    the tetin& inter#ace bet%een the "od!le- In the &eneric code inte&ration tetin& i

    done "ainly on table creation "od!le and inertion "od!le-

    >aliatio6 T,-ti67

    Thi tetin& concentrate on con#ir"in& that the o#t%are i error#ree in all

    repect- All the peci#ied +alidation are +eri#ied and the o#t%are i !bjected to hard

    core tetin&- It alo ai" at deter"inin& the de&ree o# de+iation that e/it in the o#t%are

    dei&ned #ro" the peci#ication they are lited o!t and are corrected-

    Sy-t,m T,-ti67

    .

  • 8/13/2019 Atm Document 3rd

    63/82

    ATM Simulator

    Thi tetin& i a erie o# di##erent tet %hoe pri"ary i to #!lly e/ercie the

    co"p!terbaed yte"- Thi in+ol+eJ

    I"ple"entin& the yte" in a i"!lated prod!ction en+iron"ent and tetin& it-

    Introd!cin& error and tetin& #or error handlin&-

    TEST CASES

    T,-t Ca-, 9or >,ri9yi67 Aut4,6ti5atio6@

    3

  • 8/13/2019 Atm Document 3rd

    64/82

    ATM Simulator

    T,-t Ca-, 9or D,;o-iti67 Mo6,y@

    T,-t 5a-, &@ =eri#yin& A!thentication. Priority "H1 L(@ 3igh

    T,-t O

  • 8/13/2019 Atm Document 3rd

    65/82

    ATM Simulator

    T,-t Ca-, 9or it4ra3al o9 Mo6,y@

    T,-t 5a-, &@ Depoitin& Money Priority "H1 L(@ 3igh

    T,-t O,ri9i,@ e

    T,-t E68iro6m,6t@ Apache to"cat er+er "!t be in r!nnin& tate( Databae Sho!ld contain appropriatetable and lin) "!t be etablihed bet%een er+er and client pro&ra"-

    T,-t S,tu;Pr,/Co6itio6-@ Apache er+er ho!ld be in r!nnin& tate- All the #ield "!t be entered-*er M!t be lo&&ed in-

    A5tio6- E?;,5t, R,-ult-

    *er enter %ithdra%al a"o!nt( pree Withdra%b!tton

    Diplay o!r Tranaction ha been co"pleted-

    Pa--@ Y,- Co6itio6- ;a--@ Y,- FailJ No

    Pro

  • 8/13/2019 Atm Document 3rd

    66/82

  • 8/13/2019 Atm Document 3rd

    67/82

    ATM Simulator

    T,-t Ca-, 9or Mi6i Stat,m,6t@

    T,-t 5a-, &@ Mini State"ent Priority "H1 L(@ 3igh

    T,-t O,ri9i,@ e

    T,-t E68iro6m,6t@ Apache to"cat er+er "!t be in r!nnin& tate( Databae Sho!ld contain appropriatetable and lin) "!t be etablihed bet%een er+er and client pro&ra"-

    T,-t S,tu;Pr,/Co6itio6-@ Apache er+er ho!ld be in r!nnin& tate- *er M!t be lo&&ed in-

    A5tio6- E?;,5t, R,-ult-

    *er pree on Mini State"ent b!tton- Diplay Mini tate"ent--

    Pa--@ Y,- Co6itio6- ;a--@ Y,- FailJ No

    Pro

  • 8/13/2019 Atm Document 3rd

    68/82

    ATM Simulator

    C4a;t,r /=

    OUTPUT SCREENS

    - 6*TP*T SCREENS

    T4i- i- Hom, ;a7, o9 t4, ATM Simulator

  • 8/13/2019 Atm Document 3rd

    69/82

    ATM Simulator

    U-, E6t,r- Pa--3or i6 t4, 9ollo3i67 ;a7,

    4,6 u-,r ,6t,r- 3ro67 ;a--3or

    G

  • 8/13/2019 Atm Document 3rd

    70/82

    ATM Simulator

    U-,r P,r9orm- Follo3i67 O;,ratio6-

    4,6 U-,r Cli5J- o6 C4a67, Pa--3or O;tio6

    B

  • 8/13/2019 Atm Document 3rd

    71/82

    ATM Simulator

    T4i- ;a7, 3ill

  • 8/13/2019 Atm Document 3rd

    72/82

    ATM Simulator

    T4i- ;a7, 3ill

  • 8/13/2019 Atm Document 3rd

    73/82

    ATM Simulator

    T4i- Pa7, 3ill

  • 8/13/2019 Atm Document 3rd

    74/82

    ATM Simulator

    It 3ill

  • 8/13/2019 Atm Document 3rd

    75/82

    ATM Simulator

    T4, 9ollo3i67 ;a7, 3ill

  • 8/13/2019 Atm Document 3rd

    76/82

    ATM Simulator

    It 3ill

  • 8/13/2019 Atm Document 3rd

    77/82

    ATM Simulator

    T4i- ;a7, 3ill

  • 8/13/2019 Atm Document 3rd

    78/82

    ATM Simulator

    4,6 u-,r 5li5J- o6

    B

  • 8/13/2019 Atm Document 3rd

    79/82

  • 8/13/2019 Atm Document 3rd

    80/82

    ATM Simulator

    4,6 U-,r 5li5J- o6 Pri6t

  • 8/13/2019 Atm Document 3rd

    81/82

    ATM Simulator

    DFD@ Data Flo3 Dia7ram-

    0TTPJ 0yper Te/t Tran#er Protocol

  • 8/13/2019 Atm Document 3rd

    82/82

    ATM Simulator

    %%%-eci-&o+-in

    %%%-&oo&le-co"

    http://www.eci.gov.in/http://www.google.com/http://www.google.com/http://www.eci.gov.in/http://www.google.com/