Validation Test Cases TEST CASE FOR VALIDATION PREPARED BY DATE Test Case For input box which accepts the numbers between the range x and y where x and y are any integers with x
12 Enter any character 13 Check for blank entry 14 Enter space character 15 Enter any special symbol like *,(,#,$ etc
For input box which accepts only positive integers 16 Enter any positive integer 17 Enter any negative integer 18 Enter any real number 19 Enter any character 20 Test for maximum and minimum value accepted 21 Check for blank entry 22 Enter space character 23 Enter any special symbol like *,(,#,$ etc 24 Enter + and a number 25 Enter Zero For input box which accepts alphanumeric characters 26 Enter any number 27 Enter any alphanumeric character 28 Enter the combination of numbers and characters 29 Check for blank entry and space character
For date field which accepts date in mm/dd/yyyy format 35 Check for blank entry 36 Enter characters 37 Enter any special symbol like *,(,#,$ etc 38 Enter space character 39 Enter date in dd/mm/yy format 40 Enter date in dd/mm/yyyy format 41 Enter date in dd/yy/mm format 42 Enter date in mm-dd-yyyy format 43 Enter date in dd-mm-yyyy format 44 Enter date in yy/dd/mm format 45 Enter month greater than 12 46 Enter date greater than 31for any month 47 Enter date greater than 30 for all the months which have only 30 days 48 Enter date greater than 28 for the month Feb and which is not leap year 49 Enter date greater than 29 for the month Feb and which is a leap year 50 Enter negative values in date, month and year columns 51 Enter the value zero in date, month or in year field 52 Leave either date or month or year blank and enter the other details 53 Enter date in mm/dd/yyyy format 54 If there are two date fields where in one is From date and the other is To date, then try to enter From date greater than To date 55 If there are two date fields where in one is From date and the other is To date, then try to enter From date less than or equal to To date
ases
Required Output
d y where x and y are any integers with It should not accept It should accept It should accept It should accept It should accept It should not accept
It should accept It should accept It should accept
It should not accept Application specific It should not accept It should not accept
It should accept It should not accept It should not accept It should not accept Application specific Application specific It should not accept It should not accept It should accept Application specific
It should accept It should accept It should accept Application specific
Application specific It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should not accept It should accept the date It should not accept
It should accept the dates