Menu

Test results

Muhammad Sumair Saqib

Test.case.for.login

Username................Password........Result

NULL....................NULL............False
NULL....................123456..........False
Sumair1.................NULL............False
Null....................123456..........False
Sumair@123..............123456..........False
Sumair1.................123.............False
Sumair1.................''OR.1=1........False
<scrpt>alert()<scrpt>...123456..........False
Ahsan...................123456..........True
Sumair1.................123456..........True</scrpt></scrpt>

Classes

Valid
Valid username = {Sumair1,ahsan};
Doesn't contain special character
Non empty
Not Contain scrpt
Password length >=6
Password match

Invalid

Invalid username = Allusernames - Valid usernames;
Contain special character
Empty
Password length < 6
Contain scrpt
Password mismatch


Test case for student login

Roll.#..................Name............Result

NULL....................NULL............False
NULL....................123456..........False
Sumair1.................NULL............False
Null....................123456..........False
Sumair@123..............123456..........False
Sumair1.................123.............False
Sumair1.................''OR.1=1........False
12345...................sumair..........True
<scrpt>alert()<scrpt>...123456..........False</scrpt></scrpt>

Classes

Valid

Non empty name and roll no
Roll number integer
Roll no doesnot exist
Doesnt contain scrpts

Invalid

Empty name and roll no
Roll no non integer
Roll no already exist
Contain scrpts


Test case for add a question

Question................Options............Result

NULL....................NULL............False
Question................NULL............False
NULL....................Option..........False
Question...............''OR.1=1........False
Question................Option..........True
<scrpt>alert()<scrpt>...123456..........False</scrpt></scrpt>

Classes

Valid

Non empty Question and options
No sql injection
Doesnt contain scrpts

Invalid

Empty Question or options
Contain scrpts
Contain sql injection


Test case for remove a teacher

Teacherid.......................Result

NULL...........................False
salal1.........................True
xyz............................False
<scrpt>alert()<scrpt>..........False</scrpt></scrpt>

Classes

Valid

Non empty id field
No sql injection
Registered id

Invalid

Empty id field
Not registered id
Contain scrpts



MongoDB Logo MongoDB