禧徕乐快递管理系统订单管理测试用例资料.docx
- 文档编号:23449992
- 上传时间:2023-05-17
- 格式:DOCX
- 页数:19
- 大小:23.67KB
禧徕乐快递管理系统订单管理测试用例资料.docx
《禧徕乐快递管理系统订单管理测试用例资料.docx》由会员分享,可在线阅读,更多相关《禧徕乐快递管理系统订单管理测试用例资料.docx(19页珍藏版)》请在冰豆网上搜索。
禧徕乐快递管理系统订单管理测试用例资料
禧徕乐快递管理系统-订单信息管理模块
测试用例
XILAILEExpressManagementSystem—ModuleofOrderInformationManagement
TestCase
CR项目组
V1.0
拟制人
Writer
学号
Number
批准人____________________
Approver____________________
二〇一四年五月二日
May02,2014
1引言(Introduction)
1.1编写目的(Purpose)
软件测试是软件工程中非常重要的环节,是软件质量的保证。
软件测试是使快递管理系统中的订单信息管理模块更加完善,也使系统进一步优化。
为了更好的满足管理员以及客户的要求,为了管理员以及客户提供更高的服务,因此对订单信息管理模块进行测试。
测试的目的主要是发现模块中存在的缺陷和错误,主要是对本模块的数据库和输入的文本框等进行测试,测试的目的就是在系统投入生产性运行之前,尽可能多的发现软件中的错误。
Softwaretestingisaveryimportantpartinsoftwareengineering,softwarequalityassurance.Softwaretestingistheorderinformationmanagementmoduleexpressmanagementsystemmoreperfect,butalsomakethesystemoptimization.Inordertobettermeettheadministratorandcustomerrequirement,inordertoprovidehigherserviceadministratorandcustomer,sothetestorderinformationmanagementmodule.Thepurposeofthetestismainlyfoundinthemoduleofdefectsanderrors,mainlyonthemoduledatabaseandinputtextboxandothertests,thepurposeistotestbeforethesystemisputintoproductionrun,asmuchaspossibletofindsoftwareerrors.
1.2定义(Definitions)
订单信息管理模块,主要针对管理员对订单信息的管理,为了使管理员能够更快捷方便的添加、查询、修改、删除订单的信息,确保了输入的信息准确性和安全性,避免由于大量订单需要输入而导致订单信息的输错。
Orderinformationmanagementmodule,mainlyfortheadministratortoorderinformationmanagement,inordertoallowtheadministratortomoreefficientandconvenienttoadd,query,modify,anddeleteorderinformation,toensurethattheinformationaccuracyandsafetyinput,toavoidbecauseofthelargenumberofordersneedtobeinputinthewrongorderinformation.
1.3运行环境(RunningEnvironment)
本项目采用360浏览器/服务器(B/S)模式,360浏览器的程序是以VS2010为开发软件的应用程序,数据库采用SQLServer2005。
本项目可以在WindowsXP,Win7,以及更高版本系统上运行。
TheprojectadopttheBrowser/Server(B/S)model,thebrowser'sprocedurewilluseVS2010asdevelopmentsoftwareapplication,databaseusingSQLServer2005.ThisprojectcanrunonWindowsXP,Win7,andhighersystem.
1.4参考文献(References)
[1]ElfriedeDustin.有效软件测试.北京:
清华大学出版社,2003.9
[1]ElfriedeDustin.Effectivesoftwaretesting.Beijing:
tsinghuauniversitypress,2003.9
[2]王辉,来羽,陈德祥.ASP.NET3.5(C#).清华大学出版社,2011.3
[2]WangHui,LaiYu,ChenDeXiang.TheASP.NET3.5(C#).Tsinghuauniversitypress.2011.3
[3]AbrahamSilberschatz,HenryF.Korth,S.Sudarshan.数据库系统概念.第5版.北京:
机械工业出版社,2008.6
[3]AbrahamSilberschatz,HenryF.Korth,S.Sudarshan.Databasesystemconcepts.FiftheditionBeijing:
MachineryIndustryPress,2008.6
2测试(Testing)
2.1测试方法(TestingMethod)
本系统主要采用了两种测试方法:
黑盒法、白盒法。
a)黑盒法:
又称功能测试,其测试用例是根据程序的功能说明来设计的。
在应用这种测试法时,测试者完全不考虑程序内部结构和内部特性,把软件看成是一个盒,测试时仅仅关心如何找出使程序不按要求运行的情况,因而测试是在程序进行的。
黑盒法是最基本的测试法,主要测试软件能否满足功能要求。
看输入能否被正确地接收,且能否正确地输出结果。
b)白盒法:
又称结构测试法,其测试用例是根据程序内部的逻辑结构来设计的。
用白盒法测试时,从检查程序的逻辑着手,从未学过测试方法的人看来,使程序中每条语句至少招待一次似乎就达到目的了。
这样做可看穷尽路径测试。
穷尽路径测试往往做不到,对于简单的程序即使做到穷尽路径测试,仍不能保证程序无错。
Thesystemusestwomethods:
blackboxmethod,whiteboxmethod.
a)Black-boxmethod:
alsocalledfunctiontest,thetestcasesaccordingtothefunctionoftheprogramisdesignedforthat.Intheapplicationofthistest,thetestisnotconsiderprograminternalstructureandinternalcharacteristics,thesoftwareasaboxof,onlycareabouthowtofindoutwhenthetestthattheprogramdoesnotaccordingtotherequirementsofoperation,andthereforewasthetestprocedures.Blackboxmethodisthemostbasictestmethod,themaintestsoftwareyoucouldmeetthefunctionalrequirements.Seeinputcanbecorrectlyreceive,andcancorrectlyoutput.
b)White-boxmethod:
alsoknownasstructuraltest,thetestisbasedonthelogicalstructurewithintheprogramdesign.Whiteboxtestingmethod,thelogictoproceedfromtheinspectionprocedure,testmethodhadneverstudiedtheeyesofthehospitalityprogramatleastonceineachstatementseemstobeontarget.Thiswillseeanexhaustivepathtesting.Exhaustivepathtestingisoftenimpossible,evenforsimpleprocedurestodoexhaustivepathtestingprocedurescannotguaranteeerror-free.
2.2测试计划(TestingPlan)
对本单元进行测试,进行黑盒测试,检验能否实现功能。
输入正确的条件,预期结果,输出信息。
输入错误的条件,预期结果,无法输出信息,提示输入正确条件。
进行白盒测试,检验各程序路径是否能执行到。
Taketesttotheunitbyclose-boxtesting,andcheckupwhetheritcanachievefunction.Entrycorrectconditions,expectresults,printinformation.Ifinputtingerrorconditions,theexpectedresultswillnotbetheoutputinformation,promptinginputthecorrectconditions.Foropenboxtesting,testingtheprogrampathcanperformtodoit.
2.3测试时间(TestingTime)
本系统的测试分为两个阶段进行:
第一阶段:
对自己所开发的模块进行测试,记录模块中所存在的问题。
测试时间:
2014.5.1~2014.5.2.
第二阶段:
组员之间互相进行测试,看是否有遗漏疏忽的漏洞,记录模块中所存在的问题。
测试时间:
2014.5.2~2014.5.3.
Thesystemtestingisdividedintotwostages:
Thefirststage:
totesttheirdevelopmentmodule,problemsexistingintherecordingmodule.Testtime:
2014.5.1~2014.5.2.
Thesecondstage:
betweengroupstestedagainsteachother,toseeifthereareomissionsnegligenceloopholes,problemsexistingintherecordingmodule.Testtime:
2014.5.2~2014.5.3.
2.4测试模块(TestingModule)
订单管理系统管理员对订单信息录入模块测试。
Ordermanagementsystemadministratoroftheorderinformationinputmoduletest.
2.5测试准备(TestingPrepare)
测试前,根据本功能模块,把订单的数据项列出来,最好纸上先列出数据项测试的范围,以免测试时遗漏,做到测试的完整,使得测试能顺利的进行。
Beforethetest,accordingtothefunctionmodule,theorderofdataitem,thebestpapertolistthedatatestrange,soastoavoidmissingthetest,dotestintegrity,sothatthetestcansmoothly.
2.6测试人员(Tester)
计算机工程学院计算机3111,CR项目组成员叶霆。
CollegeofComputerEngineering,Thecomputer3111andCRprojectteammemberYeTing.
3订单模块测试用例(OrderTestCase)
订单号用例测试过程:
OrderNo.casetestingprocess:
订单号功能模块:
管理员可以通过订单号对此进行查询。
OrderNo.functionmodules:
theadministratorcanthroughtheordernumbertomakeinquiry.
表3-1快递单号测试用例
用例名称
快递单号
测试时间
2014.5.1
测试人
叶霆
编号
用例说明
测试项
预期结果
实际结果
01
不输入信息
提示不能为空
提示不能为空
02
输入汉字
张三
提示不能输汉字
提示不能输汉字
03
输入9位数字
123456789
提示小于9位的数字
溢出
04
输入9位字母
abcdefghi
提示小于9位的字母
溢出
05
输入编号K12
K12
录入成功
录入成功
06
重复输入K12
K12
提示输入重复
提示输入重复
07
输入aaa
aaa
提示出错
提示出错
Table3-1numberoftestcases
CaseName
ExpressNo
Testtime
2014.5.1
PeopleTest
TingYe
No
CaseExplain
Testitem
Expectedresults
Actualresults
01
Don'tentertheinformation
Cannotbeempty
Cannotbeempty
02
InputChinesecharacters
Zhangsan
CannotentertheChinesecharacters
CannotentertheChinesecharacters
03
9digitalinput
123456789
PromptLessthan9digits
Overflow
04
9digitalLetter
abcdefghi
PromptLessthan9Letter
Overflow
05
InputnumberK12
K12
Entrysuccess
Entrysuccess
06
Repeatedinput
K12
PromptRepeatedinput
PromptRepeatedinput
07
Inputaaa
aaa
Prompterror
Prompterror
收/发件人用例测试过程:
Receive/sendercasetestingprocess:
收/发件人功能模块:
管理员可以通过收发人对此进行查询。
Receive/senderfunctionmodule:
administratorcansendpeopletomakeinquiry.
表3-2收/发件人测试用例
用例名称
收/发件人
测试时间
2014.5.1
测试人
叶霆
编号
用例说明
测试项
预期结果
实际结果
01
不输入信息
提示不能为空
不能为空
02
输入数字
123
提示必须是中文
不能输入数字
03
输入字母
abc
提示必须是中文
不能输入字母
04
输入空格
张三
提示不能输空格
不能输入空格
05
输入汉字加符号
张¥三
提示不能有符号
提示不能有符号
Table3-2Addressee/addressoroftestcases
CaseName
Addressee/ressor
Testtime
2014.5.1
PeopleTest
TingYe
No
CaseExplain
Testitem
Expectedresults
Actualresults
01
Don'tentertheinformation
Cannotbeempty
Cannotbeempty
02
Inputdigit
123
PromptmustbeChinese
Cannotinputdigital
03
Inputalphabet
abc
PromptmustbeChinese
Cannotinputalphabet
04
Inputspace
ZhangSan
Promptcan’tenterspaces
Cannotinputspace
05
Inputcharactersandsymbols
Zhang¥san
Cannothavethesign
Cannothavethesign
收/发件人电话用例测试过程:
Receive/senderphonecasetestingprocess:
收/发件人电话功能模块:
运输人员在运输时可以方便联系客户。
Receive/sendertelephonefunctionmodule:
transportpersonnelcanconvenientlycontactcustomersintransportation.
表3-3收/发件人电话测试用例
用例名称
收/发件人电话
测试时间
2014.5.1
测试人
叶霆
编号
用例说明
测试项
预期结果
实际结果
01
不输入信息
提示不能为空
提示不能为空
02
输入123
123
提示输入错误
提示必须为11位数字
03
输入11位电话
21234567891
提示输入错误
提示开头必须为1
Table3-3Receive/sendertelephoneoftestcases
CaseName
Receive/sendertelephone
Testtime
2014.5.1
PeopleTest
TingYe
No
CaseExplain
Testitem
Expectedresults
Actualresults
01
Don'tentertheinformation
Cannotbeempty
Cannotbeempty
02
Input123
123
PromptInputerror
PromptMustbe11digits
03
Inputalphabet
21234567891
PromptInputerror
PromptMuststartwith1
收件人地址用例测试过程:
Recipientaddresscasetestingprocess:
收件人地址功能模块:
运输人员可以准确的送到目的地交给客户。
Recipientaddressfunctionalmodules:
transportpersonnelcanbeaccuratetothedestinationtothecustomer.
表3-4收件地址测试用例
用例名称
收件地址
测试时间
2014.5.1
测试人
叶霆
编号
用例说明
测试项
预期结果
实际结果
01
不输入信息
提示不能为空
提示不能为空
02
输入数字
123
提示输入汉字
提示开头为汉字
03
输入字母
abc
提示输入汉字
提示开头为汉字
04
输入1个汉字
南
提示输入错误
提示必须2个汉字以上
05
输入空格加字符
张¥
提示输入出错
提示输入出错
Table3-4Recipientaddressoftestcases
CaseName
Recipientaddress
Testtime
2014.5.1
PeopleTest
TingYe
No
CaseExplain
Testitem
Expectedresults
Actualresults
01
Don'tentertheinformation
Cannotbeempty
Cannotbeempty
02
Inputdigit
123
PromptmustbeChinese
PromptthefirstisChinesecharacters
03
Inputalphabet
abc
PromptmustbeChinese
PromptthefirstisChinesecharacters
04
EnteraChinesecharacters
South
PromptInputerror
MustbemorethantwoChinesecharacters
05
inputspaceandcharacter
Zhang¥
Inputerror
Inputerror
物品名称用例测试过程:
Theitemnamecasetestingprocess:
物品名称功能模块:
可以让仓库管理人员进行分类和标注运输类别,是否属于易碎易坏物品。
Theitemnamefunctionmodule:
allowswarehousemanagementclassificationandlabelingtransportationcategory,whethertobelongtofragileperishablegoo
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 禧徕乐 快递 管理 系统 订单 测试 资料