Online Quiz System: Test Case

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

19205091

ONLINE QUIZ SYSTEM


TEST CASE
TEST TEST CASE INPUT EXPECTED ACTUAL STATUS
MODULE CAS OBJECTIVE DATA RESULT RESULT
E ID
LOGIN TC 1 Login Field Valid Login It Should It Accepts PASS
MODULE (Teacher/Student)Username Accept the the
From .json Username Username
file
LOGIN TC 2 Login Field Invalid It should Denies Login PASS
MODULE (Teacher/Student) Username not accept and returns
Which the an error
Doesn’t username
Exist in .json and return
file an error
LOGIN TC 3 Password Field Valid It Should Accepts the PASS
MODULE Password Accept the Password
Which Password and logins
Corresponds and login the user
to the the User
username
LOGIN TC 4 Password Field Invalid It Should Returns an PASS
MODULE Password Return an error
Error
QUESTIONS TC 5 Add Questions Invalid It Should Returns an PASS
MODULE (Teacher) Choices/ Return error
Typo Error Error
QUESTIONS TC 6 Add Questions Valid Question Questions PASS
MODULE (Teacher) Question and and Choices
with Choices are stored
Choices should be
Stored in
.json file
MAIN QUIZ TC 7 Attend Quiz Correct Increment Score value PASS
MODULE (Student) Choice Score is
Value by 1 Incremente
d by 1
MAIN QUIZ TC 8 Attend Quiz Incorrect It should Doesn’t PASS
19205091

MODULE (Student) Choice not change


change value of
value of score
score
MAIN QUIZ TC 9 View Instruction Choose It should Display’s PASS
MODULE (Student) View Display Instruction
Instruction Instruction

SCORES TC View Result Choose Display Display’s PASS


MODULE 10 (Student) Display Particular Result of
Result Student’s Student
Result
SCORES TC View Student’s Choose Display Display’s PASS
MODULE 11 Score View All All Students
(Teacher) Students Students Result
Score Result
ACCOUNTS TC Create Account Unique and Create Creates PASS
MODULE 12 (Student) Valid Account Account and
Username and Store Stores
and Account Account Info
Password Info
ACCOUNTS TC Create Account Invalid or It should Returns PASS
MODULE 13 (Student) Duplicate Return error
Account error
ACCOUNTS TC Create Account Unique and Create Creates PASS
MODULE 14 (Teacher) Valid Account Account and
Username and Store Stores
and Account Account Info
Password Info
ACCOUNTS TC Create Account Invalid or It should Returns PASS
MODULE 15 (Teacher) Duplicate Return error
Account error
ACCOUNTS TC Delete Account Choose It Should Deletes the PASS
MODULE 16 (Teacher/Student) Respective Delete the Account
Account Account From the
From .json file
the .json
file

You might also like