测试用例(样例)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Mercury提供Demo中测试用例QC_Demo功能测试用例页面:注册Registration【功能】姓&名TestNameFirst&LastName(ContactInformation)DetailsSummaryThetestverifiestheFirstandLastNamefieldsintheContactInformationsectionontheRegistrationpage.DescriptionThetestiscomposedofthefollowingstages:1.ConnectiontoMercuryToursapplication.2.CompletionoftheRegistrationpageform,excepttheFirstandLastNamefieldsinContactInformationsection.3.VerificationofFirstandLastNamefieldscompletedwiththedifferentvalues.TestCallsConnect:ConnectiontoMercuryToursapplication.ParametersSeeattacheddocumentParameters.htmStepNameDescriptionExpectedResultCallConnectCallConnectwiththefollowingparameters:mercurytoursurl=?PreparationExecutethePreparationstepbeforeyouexecuteeachstepinthetest.1.ClicktheRegisterbutton.2.CompletetheContact(skiptheFirstandLastName)andMailinginformationsectionswithvalidvalues.3.CompletetheUserNamefieldwithavalidvalue.4.TypethesamevalidpasswordinthePasswordandConfirmPasswordfields.Step1:ValidFirstAndLastName1.CompletetheFirstNameandLastNamefields,asfollows:-TheFirstandLastNamefieldscanbeempty.-TheFirstandLastNamefieldsmaycontainletters,hyphen-,andspace.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step2:ValidFirstandLastNameusingMaximalFieldSize1.CompletethetheFirstNameandLastNamefieldswithvalidvaluesusingthemaximumfieldsize.Tofindoutthemaximalfieldsize,checktheHTMLsourcepage.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step3:EmptyFirstName1.SkiptheFirstNamefield.2.CompletetheLastNamefieldwithvalidvalues.3.ClicktheSubmitbutton.4.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step4:EmptyLastName1.SkiptheLastNamefield.2.CompletetheFirstNamefieldwithvalidvalues.3.ClicktheSubmitbutton.4.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step5:EmptyFirstAndLastName1.SkiptheFirstandLastNamefields.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step6:SpacesOnlyinFirstandLastNameFields1.TypespacesonlyintheFirstandLastNamefields.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.AnerrormessageshouldappearindicatingthatyoumustentervalidFirstandLastName.Userprofileshouldnotberegistered.Step7:SpecialCharactersinFirstandLastNameFields1.TypeinvalidspecialcharactersintheFirstNameorLastNamefields.Completethesecondfieldwithvalidvalue.2.ClicktheSubmitbutton.3.Seeresultsonthenextpage.Note:Specialcharactersarenon-alphanumericcharacters,suchas:~!@#$%&*()+-={}|[]\?/CertainspecialcharacterscanbeusedwhencompletingthetheFirstNameandLastNamefields.SeeStep1forvalidvalues.AnerrormessageshouldappearindicatingthatyoumustentervalidFirstandLastName.Userprofileshouldnotberegistered.Step8:DigitsinFirstandLastNameFields1.TypedigitsinthetheFirstandLastNameFields.2.ClicktheSubmitbutton.3.Seeresultsonthenextpage.AnerrormessageshouldappearindicatingthatyoumustentervalidFirstandLastName.Userprofileshouldnotberegistered.【功能】电话TestNamePhone(ContactInformation)DetailsSummaryThetestverifiesthePhonefieldintheContactInformationsectionontheRegistrationpage.DescriptionThetestiscomposedofthefollowingstages:1.ConnectiontoMercuryToursapplication.2.CompletionoftheRegistrationpageform,excepttheEmailfieldinContactInformationsection.3.VerificationofPhonefieldcompletedwiththedifferentvalues.TestCallsConnect:ConnectiontoMercuryToursapplication.ParametersSeeattacheddocumentParameters.htmStepNameDescriptionExpectedResultCallConnectCallConnectwiththefollowingparameters:mercurytoursurl=?PreparationExecutethePreparationstepbeforeyouexecuteeachstepinthetest.1.ClicktheRegisterbutton.2.CompletetheContact(skipthePhone)andMailinginformationsectionswithvalidvalues.3.CompletetheUserNamefieldwithavalidvalue.4.TypethesamevalidpasswordinthePasswordandConfirmPasswordfields.Step1:Valid1.CompletethePhonefield,asfollows:-ThePhonefieldcanbeempty-ThePhonefieldmaycontaindigits,hyphen-,parenthesis(and),plus+,andspace.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step2:ValidPhoneusingMaximalFieldSize1.CompletethethePhonefieldwithvalidvalueusingthemaximumfieldsize.Tofindoutthemaximalfieldsize,checktheHTMLsourcepage.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step3:Empty1.SkipthePhonefield.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.Userprofileshouldberegistered.Step4:SpacesOnlyinPhoneField1.TypespacesonlyinthePhonefield.2.ClicktheSubmitbutton.3.Checktheresultsonthenextpage.AnerrormessageshouldappearindicatingthatyoumustentervalidPhone.Userprofileshouldnotberegistered.Step5:SpecialCharactersinPhoneField1.TypeinvalidspecialcharactersinthePhonefield.2.ClicktheSubmitbutton.3.Seeresultsonthenextpage.Note:Specialcharactersarenon-alphanumericcharacters,suchas:~!@#$%&*()+-={}|[]\?/CertainspecialcharacterscanbeusedwhencompletingthethePhonefield.SeeStep1forvalidvalues.AnerrormessageshouldappearindicatingthatyoumustentervalidPhone.Userprofileshouldnotberegistered.Step6:LettersinPhoneField1.TypelettersinthePhonefield.2.

1 / 46
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功