您好,欢迎访问三七文档
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.
本文标题:测试用例(样例)
链接地址:https://www.777doc.com/doc-3609542 .html