【正文】
更重要的是,還要從最終用戶的角度進行安全性和可用性測試。41第六章 系統(tǒng)測試在 Web 工程過程中,基于 Web 系統(tǒng)的測試、確認和驗收是一項重要而富有挑戰(zhàn)性的工作。在現(xiàn)實生活中,儲戶的實際存期很多不是整年整月的,一般都帶有零頭天數(shù),可以采用以支取日的年、月、日分別減去存入日的年、月、日的方法,其差數(shù)為實存天數(shù)。 幫助說明 利率約定活期利率為 %,定期利率為 %(存期為 3 個月)或者 %(存期為 6 個月)或者 3%(存期為一年)或者 %( 存期為 3 年)。 明細查詢頁面主要代碼和視圖如下:圖 明細查詢頁面明細查詢頁面代碼參考余額查詢頁面。form139。color:red。/div/td/trtr align=centerth class=td1span class=style1存入金額/span/thtd class=td21input type=text name=dep_money onblur=checkDepMoney()元div id=errorMsg4 style=display:none。inner。color:red。/div/td/trtr align=centerth class=td1span class=style1font color=red*/font戶主身份證號 /span/thtd class=td21input type=text id=dep_idcard name=dep_idcard onblur=checkId()div id=errorMsg2 style=display:none。inner。form139。table border=0 cellpadding=0 cellspacing=0 class=bg_table align=centertrtd colspan=6 background=images/ class=tdys存款/td/trtr align=centerth class=td1span class=style1賬戶編號/span/thth class=td21span class=style1input type=text name=account_id//span/th/trtr align=centerth class=td1span class=style1辦理人姓名/span/thtd class=td21input type=text 33name=oper_name//td/trtr align=centerth class=td1span class=style1存入金額/span/thtd class=td21 input type=text name=deposit_money/元/td/trtr align=centerth class=td1span class=style1存款類型/span/thtd class=td21select name=jiguanoption value=1活期/optionoption value=2定期3 個月 /optionoption value=3定期6 個月 /optionoption value=4定期1 年/optionoption value=5定期3 年/option/select/td/trtrtd colspan=6 class=tdysinput type=submit class=btn value= 確 認 /td/tr/table/form/center/body/html 賬戶取款頁面主要代碼和視圖如下:湖南人文科技學院畢業(yè)設(shè)計 圖 取款頁面代碼參考存款頁面。table border=0 cellpadding=0 cellspacing=0 class=bg_table align=centertrtd colspan=6 background=%=basePath%Images/ class=tdys登陸密碼修改/td/trtr align=centerth class=td1span class=style1原密碼/span/thth class=td21span class=style1input type=password name=oldpwd//span/th/trtr align=centerth class=td1span class=style1新密碼/span/thtd class=td21input type=password name=newpwd//td/trtr align=centerth class=td1span class=style1確認新密碼/span/thtd class=td21input type=password name=rewpwd//td/trtrtd colspan=6 class=tdysinput type=submit class=btn value= 確 認 /td/tr/table/form/center/body湖南人文科技學院畢業(yè)設(shè)計 /html 賬戶存款頁面主要代碼和視圖如下:圖 存款頁面bodycentertable border=0 width=785pxtrtd /td/trtrtd colspan=2 align=right/td/tr/table form action=modifyPwd method=post onsubmit=return checkPwd() name=39。 操作員信息修改頁面該頁面用于修改登錄密碼,主要代碼和視圖如下:31圖 登錄密碼修改頁面bodycentertable border=0 width=785pxtrtd /td/trtrtd colspan=2 align=right/td/tr/table form action=%=basePath % method=post onsubmit=return checkPwd() name=39。)strong賬戶信息管理/ strong/aul id=Menu2_2 class=collapsedlia href=%=basePath %login/ target=I2賬戶密碼修改/ a/lilia href=%=basePath %login/ target=I2余額查詢/a湖南人文科技學院畢業(yè)設(shè)計 /lilia href=%=basePath %login/ target=I2明細查詢/a/li/ul/li/ul 為頁面上部, 為頁面下部,包含左部菜單和右部顯示部分以及底部備案信息部分。)strong賬戶管理/ strong/aul id=Menu2_1 class=collapsedlia href=%=basePath %login/ target=I2存款/a/lilia href=%=basePath %login/ target=I2取款/a/lilia href=%=basePath %login/ target=I2開戶/a/lilia href=%=basePath %login/ target=I2銷戶/ a/lilia href=%=basePath %login/ target=I2轉(zhuǎn)賬/a/li/ul/lilia href=%=basePath %login/Menu=Menu2_2 onClick=DoMenu(39。)strong個人信息管理/strong /a29ul id=Menu1 class=collapsedlia href=%=basePath %login/ target=I2登錄密碼修改/ a/li/ul/lilia href=%=basePath %login/Menu=Menu2_1 onClick=DoMenu(39。 退出/a /td/tr/table/lilitabletrtd員工編號:${}/td/tr/table/li/ul/divdiv id=menuul id=rootlia href=%=basePath %login/Menu=Menu1 onClick=DoMenu(39。 target=I2首頁/a /tdtdimg alt=退出 src=%=basePath %Image//tdtda href= class=A1 onclick==39。 height: 75pxullitabletrtdimg alt=首頁 src=%=basePath %Image//tdtda href= class=A1 onclick==39。 height: 57px//span/tdtd class=td3iframe name=I2 height=100% width=100% frameborder=0 src=瀏覽器不支持嵌入式框架,或被配置為不顯示嵌入式框架。/iframe/tdtdclass=td2onclick=switchBar()style=backgroundcolor: 8EF2ED。/td/trtrtd align=centerfont size=5密碼:/fontinput name=userpwd type=password style=width: 153px/td/trtrtd align=center登錄身份:input type=radio name=role checked/普通職工input type=radio name=role/銀行經(jīng)理/td/trtrtd align=centerinput type=submit value=登 錄 style=height: 43px。39。 fontfamily: Comic Sans MS, SansSerif。 color: 800080。width: 714px。return checkform()39。 height: 354px。 backgroundrepeat:repeatx。}return true。 )。){alert(39。 || pwd == 39。if(username == 39。25 設(shè)計視圖 公用登錄頁面在該頁面輸入工號和密碼,并選擇登錄身份后點擊登錄即進入系統(tǒng),主要代碼和視圖如下:圖 登錄頁面scriptfunction checkform(){var username = 。輸入賬戶編號 、 賬戶密碼 、 查詢開始日期 、 查詢結(jié)束日期判斷賬戶是否存在不存在提示賬號錯誤判斷密碼是否正確存在不正確提示密碼錯誤查詢 R e c o r d 表中該賬戶在查詢開始日期和查詢結(jié)束日期之前的記錄正確顯示查到的所有記錄 , 其中支出顯示為 b a l a n c e _ b e f o r e b a l a n c e _ a f t e r , 收入顯示為 0 . 0判斷 b a l a n c e _ b e f o r e和 b a l a n c e _ a f t e r大于顯示查到的所有記錄 , 其中支出顯示為 0 . 0 , 收入顯示為 b a l a n c e _ a f t e r b a l a n c e _ b e f o r e小于顯示查到的所有記錄 , 其中支出和收入都顯示為 0 . 0等于圖 明細查詢流程圖注意:在銷戶、存款、取款、轉(zhuǎn)賬、余額查詢、詳單查詢這 6 個操作時,都會先進行利息計算然后再具體的辦理業(yè)務(wù)。輸入賬戶編號 、 賬戶原密碼 、 賬戶新密碼 、 重復(fù)賬戶新密碼 、 辦理人身份證號碼驗證賬戶是否存在不存在驗證身份證號碼是否正確存在不正確驗證賬戶原密碼是否正確正確密碼錯誤判斷新密碼和重復(fù)密碼是否相同 、 是否為空正確不相同或為空提示新密碼和重復(fù)新密碼必須相同且不為空更新賬戶密碼為新密碼顯示密碼修改結(jié)果圖 修改賬戶密碼流程圖23 余額查詢儲戶在用戶代理的協(xié)同下,將賬戶編號、賬戶密碼輸入系統(tǒng),系統(tǒng)