Test Cases for Online Examination System

This page has Test Cases For Online Examination System. Testing determines whether the system appears to be working according to the specifications. The goal of testing is to uncover requirement, design, coding errors in the program. This Web Application provides facility to conduct online examination world wide. It saves time as it allows number of students to give the exam at a time and displays the results as the test gets over, so no need to wait for the result. It is automatically generated by the server.


Test Cases for Online Examination System

  • Login Component
Serial No.Condition To be TestedExpected ResultResult
1.On the load of login form.No data should be supplied.PASS
2.    When the student does not enter any fields and clicks โ€œloginโ€Should display error message โ€œplease enter register number and passwordโ€PASS
3. When the student does not enter valid register number and password. Should display error message โ€œinvalid    register number and passwordโ€.PASS
4.When the student  does not enter  password.Should display error message โ€œfailed to loginโ€.PASS
5.When the user enters password and username and clicks login.Should go to the home page.PASS
  • Examiner
Serial No.Condition To be TestedExpected ResultResult
1.On the load of login form.No data should be supplied.PASS
2.    When the examiner does not enter any fields and clicks โ€œloginโ€.Should display error message โ€œfailed to loginโ€.PASS
3. When the examiner does not enter user name. Should display error message โ€œplease enter the user nameโ€.PASS
4.When the examiner does not enter  password.Should display error message โ€œplease enter valid passwordโ€.PASS
5.When the examiner enters password and username and clicks login.Should go to the home page.PASS
  • Administrator
Serial No.Condition To be TestedExpected ResultResult
1.On the load of login form.No data should be supplied.PASS
2.    When the administrator does not enter any fields and clicks โ€œloginโ€.Should display error message โ€œfailed to loginโ€.PASS
3. When the administrator does not enter user name. Should display error message โ€œplease enter the user nameโ€.PASS
4.When the administrator does not enter  password.Should display error message โ€œplease enter valid passwordโ€.PASS
5.When the administrator enters password and username and clicks login.Should go to the home page.PASS
  • Users
Serial No. Condition To be TestedExpected ResultResult
1On the load of login form.No data should be supplied.PASS
2When admin  does not enter any values and clicks โ€˜submitโ€™Should display error message โ€œplease enter the course nameโ€PASS
3When the admin does not enter the description and clicksโ€™submitโ€™Should display error message โ€œplease enter the descriptionโ€PASS
4When the admin does not select the status and clicksโ€™submitโ€™Should display error message โ€œplease select  statusโ€PASS
5  When  the admin enter numbers instead of letters in the field โ€œ name โ€Should display error message โ€œEnter only lettersโ€PASS
6When the admin enters all the fields and clicks โ€œSubmitโ€Should display message โ€œone record  added โ€PASS
  • Exam
Serial No.Condition To be TestedExpected ResultResult
1 On the load of login form.No data should be supplied.PASS
2When admin  does not enter any values and clicks โ€˜submitโ€™Should display error message โ€œplease enter the register numberโ€PASS
3When the admin does not select the subjects and clicksโ€™submitโ€™Should display error message โ€œplease select the subjectโ€PASS
4When the admin does not select the date and clicksโ€™submitโ€™Should display error message โ€œplease select  the dateโ€PASS
5When the admin does not select the time and clicksโ€™submitโ€™Should display error message โ€œplease select the timeโ€PASS
6When the admin does not select the status and clicksโ€™submitโ€™Should display error message โ€œplease select  statusโ€PASS
8When  the admin enter numbers instead of letters in the field โ€œ name โ€Should display error message โ€œEnter only lettersโ€PASS
9When admin enter letters instead of numbers in the field โ€œregnoโ€Should display error message โ€œEnter Only numbersโ€ PASS
10When the admin enters all the fields and clicks โ€œSubmitโ€Should display message โ€œone record is added โ€PASS
  • Change password
Serial No.Condition To be TestedExpected ResultResult
1.On the load of login form.No data should be supplied.PASS
2.    When the student does not enter any fields and clicks โ€œchange passwordโ€.Should display error message โ€œplease enter the registration numberโ€.PASS
3. When the student does not enter new password and clicks โ€œchange passwordโ€. Should display error message โ€œplease enter the new passwordโ€.PASS
4.When the student does not enter confirm password and clicks โ€œchange passwordโ€..Should display error message โ€œplease enter confirm passwordโ€.PASS
5.When student enter letters instead of numbers in the field โ€œregnoโ€Should display error message โ€œEnter Only numbersโ€ PASS
6.When the student enters all the fields and clicks โ€œchange passwordโ€Should display message โ€œpassword updated successfullyโ€PASS

Download this project and Complete Documentation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.