online quiz test cases

21
Page 1 of 21 <Customer Name> <Project Name> Integration Test Cases & Log T <Version No.> Name Role Signature Date Project ID:<Project ID.> Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 Prepared By / Last Updated By Test case Reviewed by Test Log Reviewed By Controlled copy C3 Protected Controlled copy C3 Protected Controlled copy Controlled copy

Upload: kanakalaxmi

Post on 14-Sep-2014

78 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Online Quiz Test Cases

Page 1 of 20

<Customer Name><Project Name>

Integration Test Cases & Log Template

<Version No.>

Approved By

Name

Role

Signature

Date

Project ID:<Project ID.> <SCI.ID.> / Ver: <Ver No.>

Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 C3: Protected

Prepared By / Last Updated By

Test case Reviewed by

Test Log Reviewed By

Controlled copy

C3 Protected

Controlled copy

C3 Protected

Controlled copyControlled copy

Page 2: Online Quiz Test Cases

Page 2 of 20

<Customer Name><Project Name>

Integration Test Cases & Log Template

<Version No.>

<SCI.ID.> / Ver: <Ver No.>

Controlled copyControlled copyControlled copyControlled copy

Page 3: Online Quiz Test Cases

Page 3 of 20

Test Cases and Log

Test Type : Integration Testing Version Number

Author: Date:

Purpose & Scope:

Test Pre-requisites:

<Pre-requisites in terms of environment specifics, test data, dependance on execution of other test procedures etc. needs to be addressed here>

File Naming & Versioning Conventions

Change Log

Integration Test Cases & Log Template - Test case Details <Project Name>Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 C3: Protected Controlled CopyProject ID:<Project ID.> <SCI.ID.> / Ver: <Ver No.>

<If multiple test procedures are prepared for a given project, then the portion of the requirements / design / specifications that this file addresses could be mentioned here>

1) The version of the file is tied to the version of the test cases and not the log.2) When there is a revision in the test cases, the version number of the test cases document is changed.3) Test runs must be tied to the test cases version and must be suffixed with the run number.4) This differentation is important as the cases and the log has been combined in this template.Eg: Mod1_Test_Proc1_1.0 is the test cases version and Mod1_Test_Proc1_1.0_Run1 is the first run for this Test Proc5) If the test case passes, then PASS may be indicated against the test case.6) If it fails, then FAIL must be indicated and the defect ID needs to be filled up7) Defect Tracking is a separate template that could be combined for version / runs of test cases and logs. The differentiation of version/ run is implemented by filling up the same in the defect tracking template.

Page 4: Online Quiz Test Cases

Page 4 of 20

Integration Test Cases & Log Template - Test case Details <Project Name>Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 C3: Protected Controlled CopyProject ID:<Project ID.> <SCI.ID.> / Ver: <Ver No.>

Old Version New Version Changes made

Proj. ID SCI ID S.No

Page 5: Online Quiz Test Cases

Page 5 of 20

Test Cases and Log

Purpose & Scope:

Test Pre-requisites:

<Pre-requisites in terms of environment specifics, test data, dependance on execution of other test procedures etc. needs to be addressed here>

Integration Test Cases & Log Template - Test case Details <Project Name>Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 C3: Protected Controlled Copy

<If multiple test procedures are prepared for a given project, then the portion of the requirements / design / specifications that this file addresses could be mentioned

2) When there is a revision in the test cases, the version number of the test cases document is changed.

Eg: Mod1_Test_Proc1_1.0 is the test cases version and Mod1_Test_Proc1_1.0_Run1 is the first run for this Test Proc

7) Defect Tracking is a separate template that could be combined for version / runs of test cases and logs. The differentiation of version/ run is implemented by filling up the same in the defect tracking template.

Page 6: Online Quiz Test Cases

Page 6 of 20

Integration Test Cases & Log Template - Test case Details <Project Name>Release ID: QTAD-ITCX.xls / 8.05 / 18.06.2008 C3: Protected Controlled Copy

Modified by Date

Doc.Version Form No. :

Page 7: Online Quiz Test Cases

Page 7 of 20

Project Name : ONLINE QUIZ APPLICATION

Test Cases and LogRun Number Testing done by

Test Case ID Test Case Steps to execute the test case

User's Registration1 First Name if( FirstName== null)2 First Name if( FirstName contains digits)3 First Name if( FirstName contains special symbols)4 Last Name if( Lastname contains digits)

5Last Name if( Lastname contains special symbols)

6 EmailId if( EmailId== null)7 EmailId If( EmailId is not in a proper format)8 DateOfBirth if( DateOfBirth== null)9 Country if( Country==null)

10 Mobile number if( Mobile No==null)11 Mobile number if(length(Mobile No)!=10)

12 Password if( password==null)

13Confirm Password if( Password!= confirm password )

14 Confirm Password if( Password == confirm password)15 Security Question if(Security Question==null)16 Your answer if(Your answer == null)

Login1 login if(Correct Email_Id and correct password)

Test Procedure Name

Page 8: Online Quiz Test Cases

Page 8 of 20

Project Name : ONLINE QUIZ APPLICATION

2 login if(Correct Email_Id and incorrect password)

3 login if(Incorrect Email_Id and correct password)

Change Password1 change_Password if(current password field =old password)

2 change_password if(current password field!= old password)

3 change_Password if(new password = confirm password)

4 change_Password if(new password != confirm password)

User's Functionalities

1Home OnClick(Home)

2View/Update_Profile OnClick(View/Update_Profile)

3Change_Password OnClick(Change_password)

4ForgotPassword? OnClick(Forgot Password?)

4 Take Test OnClick(Take Test)

5 View_Your_Scores OnClick(View Your Scores)

6 Feedback OnClick(Feedback)

7 Logout OnClick(Logout)

Adminstrator's Functionalities1 Home OnClick(Home)

2View User's Details OnClick(View Users)

Page 9: Online Quiz Test Cases

Page 9 of 20

Project Name : ONLINE QUIZ APPLICATION

3Change_Password OnClick(Change_password)

4Modify Users OnClick(Modify Users)

5 View User's Scores OnClick(View User Scores)

6Add Quiz OnClick(Add Quiz)

7Modify Quiz OnClick(Modify Quiz)

8View Feedback OnClick(View Feedback)

9Add Quiz duration OnClick(Add Quiz Duration)

10Modify Quiz Duration OnClick(Modify Quiz Duration)

11 Logout OnClick(Logout)

Add Quiz Page1 Question if(Question ==null)

2 Option1 if(Question ==null)

3 Option2 if(Question ==null)

4 Option3 if(Question ==null)

5 Option4 if(Question ==null)

6 Answer if(Question ==null)

Add Quiz Duration Page

1 QuizId if(QuizId==null)

2 Quiz Hours if(Quiz Hours==null)

3 Quiz Minutes if(Quiz Minutes==null)

Page 10: Online Quiz Test Cases

Page 10 of 20

Project Name : ONLINE QUIZ APPLICATION

Forgot Password Page1 Enter EmailId If(EmailId==null)

2 Select Security Question if(Security Question==null)

3 Answer if(Asnswer==null)

4

User's Feedback Page

1 Name if(Name==null)

2 EmailId if(EmailId==null)

3 Feedback if(Feedback==null)

if(EmailId , Security Question and Answer are Valid)

Page 11: Online Quiz Test Cases

Page 11 of 20

Project Name : ONLINE QUIZ APPLICATION

Test Cases and LogSignature Date

Run Number 1Expected Result Actual Result PASS / FAIL

User's Registrationfirst name cannot be Null first name cannot be Null PASSFirst name cannot contain digits Enter a Valid first fame PASSFirst Name cannot contain special symbols Enter a Valid first name PASSLastname field cannot contain digits Enter a valid last name PASS

Enter a valid last name PASS

Email_Id field is mandatory Enter email id PASSPlease check the email id format Check email id format PASSDateOfBirth field is mandatory select DateOfBirth PASSSelect the gender select gender PASSplease fill the phone number field enter phone number PASSEnter a valid phone number enter a valid phone number PASSPassword field should not be null please enter password PASS

password and confirm password donot match PASS

Accept Accept PASSSecurity Question field should not be null Security Question field should not be nullplease answer the security question please answer the security question PASS

Loginlogin successful login successful PASS

Lastname field can contain only alphabets and not special symbols.

Your password and Confirm password fields do not match

Page 12: Online Quiz Test Cases

Page 12 of 20

Project Name : ONLINE QUIZ APPLICATION

Check your password or Email_Id login failed PASS

check youe password or Email_Id login failed PASS

Change Passwordaccept password accepted PASS

does not accept password error PASS

Accept password accepted PASS

password and confirm password fields must match password n confirm password donot match PASS

User's FunctionalitiesUser's Home page is displayed. User's Home page is displayed. PASS

User's Profile page is displayed that is editable. User's Profile page is displayed that is editable PASS

PASS

PASS

The Corresponding Quiz page has to be displayed. The Corresponding Quiz page displayed. PASS

The Corresponding page has to be displayed. The Corresponding page displayed. PASS

The Corresponding page has to be displayed. The Corresponding page displayed. PASS

user is redirected to login page. user is redirected to login page. PASS

Adminstrator's FunctionalitiesAdminstrator's Home page is displayed. Adminstrator's Home page is displayed. PASS

User's Profile page is displayed that is editable. User's Profile page is displayed that is editable. PASS

User is redirected to change password page where he is able to change his password.

User is redirected to change password page where he is able to change his password.

User is redirected to reset password page there he can reset his password

User is redirected to reset password page there he can reset his password

Page 13: Online Quiz Test Cases

Page 13 of 20

Project Name : ONLINE QUIZ APPLICATION

PASS

PASS

The Corresponding page has to be displayed. The Corresponding page displayed. PASS

The Corresponding add quiz page has to be displayed. The Corresponding add quiz page displayed. PASS

The Corresponding modify Quiz page displayed. PASS

The Corresponding user's feedback page displayed. PASS

PASS

PASS

Adminstrator is redirected to login page. Adminstrator is redirected to login page. PASS

Add Quiz PageQuestion should not be null Enter the question PASS

Question should not be null Enter Option1 PASS

Question should not be null Enter Option2 PASS

Question should not be null Enter Option3 PASS

Question should not be null Enter Option4 PASS

Question should not be null Enter Option5 PASS

Add Quiz Duration PageQuiz Id should not be null Enter QuizId PASS

Quiz Hours should not be null Enter Quiz Hours PASS

Quiz Minutes should not be null Enter Quiz minutes PASS

Adminstrator is redirected to change password page where he is able to change his password.

Adminstrator is redirected to change password page where he is able to change his password.

Adminstrator is redirected to the all users details page there he can delete and update the users

Adminstrator is redirected to the all users details page there he can delete and update the users

The Corresponding modify Quiz page has to be displayed.

The Corresponding user's feedback page has to be displayed.

The Corresponding add Quiz duration page has to be displayed .

The Corresponding add Quiz duration page displayed .

The Corresponding modify Quiz duration page has to be displayed .

The Corresponding modify Quiz duration page displayed .

Page 14: Online Quiz Test Cases

Page 14 of 20

Project Name : ONLINE QUIZ APPLICATION

Forgot Password PageEmailId should not be null Enter Emailid PASS

Security Question should not be null. Select Security Question PASS

Answer Field should not be null Enter answer for the security question PASS

Accept Display Password PASS

User's Feedback PageName should not be null Enter Name. PASS

EmailId should not be null Enter email id PASS

Feedback should not be null Enter your feedback here PASS

Page 15: Online Quiz Test Cases

Page 15 of 20

Test Cases and Log

Run Number 1 Run Number 2 Run Number 3 Run Number 4Defect ID Remarks Actual ResultPASS / FAILDefect ID RemarksActual ResultPASS / FAILDefect ID RemarksActual Result

User's Registration

Login

E6
Copy these set of columns (actual result, pass/fail, defect ID and Remarks) for every run. Note: if the test cases change between builds, these runs have to be logged against the revised set of test cases in a separate document.
Page 16: Online Quiz Test Cases

Page 16 of 20

Change Password

User's Functionalities

Adminstrator's Functionalities

Page 17: Online Quiz Test Cases

Page 17 of 20

Add Quiz Page

Add Quiz Duration Page

Page 18: Online Quiz Test Cases

Page 18 of 20

Forgot Password Page

User's Feedback Page

Page 19: Online Quiz Test Cases

Page 19 of 20

Run Number 4 Run Number 5PASS / FAILDefect ID RemarksActual ResultPASS / FAILDefect ID Remarks

Page 20: Online Quiz Test Cases

Page 20 of 20

Change Log

Please note that this table needs to be maintained even if a Configuration Management tool is used.

Changes made

V1.0 <First version>V1.1

Page no Changes effected

V1.2Page no Changes effected

Version Number

<If the change details are not explicitly documented in the table below, reference should be provided here>Changed

byEffective date

<If the change details are not explicitly documented in the table below, reference should be provided here>Changed

byEffective date