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.
ConditionTo be Tested
Expected Result
Result
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.
ConditionTo be Tested
Expected Result
Result
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.
ConditionTo be Tested
Expected Result
Result
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.
ConditionTo be Tested
Expected Result
Result
1
On the load of login form.
No data should be supplied.
PASS
2
When admin does not enter any values and clicks โsubmitโ
Should display error message โplease enter the course nameโ
PASS
3
When the admin does not enter the description and clicksโsubmitโ
Should display error message โplease enter the descriptionโ
PASS
4
When 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
6
When the admin enters all the fields and clicks โSubmitโ
Should display message โone record added โ
PASS
Exam
Serial No.
ConditionTo be Tested
Expected Result
Result
1
On the load of login form.
No data should be supplied.
PASS
2
When admin does not enter any values and clicks โsubmitโ
Should display error message โplease enter the register numberโ
PASS
3
When the admin does not select the subjects and clicksโsubmitโ
Should display error message โplease select the subjectโ
PASS
4
When the admin does not select the date and clicksโsubmitโ
Should display error message โplease select the dateโ
PASS
5
When the admin does not select the time and clicksโsubmitโ
Should display error message โplease select the timeโ
PASS
6
When the admin does not select the status and clicksโsubmitโ
Should display error message โplease select statusโ
PASS
8
When the admin enter numbers instead of letters in the field โ name โ
Should display error message โEnter only lettersโ
PASS
9
When admin enter letters instead of numbers in the field โregnoโ
Should display error message โEnter Only numbersโ
PASS
10
When the admin enters all the fields and clicks โSubmitโ
Should display message โone record is added โ
PASS
Change password
Serial No.
ConditionTo be Tested
Expected Result
Result
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โ