Tuesday, 24 May 2011

VALIDATION TEST CASES

Validation Test Cases
     
   
   
   
  Test Case Required Output
     
For input box which accepts the numbers between the range x and y where x and y are any integers with x<y (Boundary Condition Testing)
1 Enter the value x-1 It should not accept
2 Enter the value x It should accept
3 Enter the value x+1 It should accept
4 Enter the value y-1 It should accept
5 Enter the value y It should accept
6 Enter the value y+1 It should not accept
     
For input box which accepts only numbers
7 Enter any positive number It should accept
8 Enter any negative number It should accept
9 Enter any real number It should accept
     
     
12 Enter any character It should not accept
13 Check for blank entry Application specific
14 Enter space character It should not accept
15 Enter any special symbol like *,(,#,$ etc It should not accept
     
For input box which accepts only positive integers
16 Enter any positive integer It should accept
17 Enter any negative integer It should not accept
18 Enter any real number It should not accept
19 Enter any character It should not accept
20 Test for maximum and minimum value accepted Application specific
21 Check for blank entry Application specific
22 Enter space character It should not accept
23 Enter any special symbol like *,(,#,$ etc It should not accept
24 Enter + and a number It should accept
25 Enter Zero Application specific
     
For input box which accepts alphanumeric characters
26 Enter any number It should accept
27 Enter any alphanumeric character It should accept
28 Enter the combination of numbers and characters It should accept
29 Check for blank entry and space character Application specific
For date field which accepts date in mm/dd/yyyy format
35 Check for blank entry Application specific
36 Enter characters It should not accept
37 Enter any special symbol like *,(,#,$ etc It should not accept
38 Enter space character It should not accept
39 Enter date in dd/mm/yy format It should not accept
40 Enter date in dd/mm/yyyy format It should not accept
41 Enter date in dd/yy/mm format It should not accept
42 Enter date in mm-dd-yyyy format It should not accept
43 Enter date in dd-mm-yyyy format It should not accept
44 Enter date in yy/dd/mm format It should not accept
45 Enter month greater than 12 It should not accept
46 Enter date greater than 31for any month It should not accept
47 Enter date greater than 30 for all the months which have only 30 days It should not accept
48 Enter date greater than 28 for the month Feb and which is not leap year It should not accept
49 Enter date greater than 29 for the month Feb and which is a leap year It should not accept
50 Enter negative values in date, month and year columns It should not accept
51 Enter the value zero in date, month or in year field It should not accept
52 Leave either date or month or year blank and enter the other details It should not accept
53 Enter date in mm/dd/yyyy format It should accept the date
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 It should not accept
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 It should accept the dates

No comments:

Post a Comment