You are on page 1of 4

Field Level Validation Test Cases

Test No. Test Case

For input box which accepts the numbers between the range x and y where x and y are any integers with x<y (Boun

1 Enter the value x-1


2 Enter the value x
3 Enter the value x+1
4 Enter the value y-1
5 Enter the value y
6 Enter the value y+1

For input box which accepts only numbers


7 Enter any positive number
8 Enter any negative number
9 Enter any real number
10 Test for maximum and minimum value accepted
11 Test for the length of the field
12 Enter any character
13 Check for blank entry
14 Enter space character
15 Enter any special symbol like *,(,#,$ etc
16 Paste a large value into the input box

For input box which accepts only positive integers


17 Enter any positive integer
18 Enter any negative integer
19 Enter any real number
20 Enter any character
21 Test for maximum and minimum value accepted
22 Check for blank entry
23 Enter space character
24 Enter any special symbol like *,(,#,$ etc
25 Enter + and a number
26 Enter Zero

For input box which accepts alphanumeric characters


27 Enter any number
28 Enter any alphanumeric character
29 Enter the combination of numbers and characters
30 Check for blank entry and space character
31 Enter any special symbol like *,(,#,$ etc
32 Test for the length of input characters to the field
33 Test for vertical scroll bar for multilined fields
34 Test for the horizontal scroll bar when the field takes more characters than
the size of the edit box
35 Test for the case sensitiveness of the input box
For date field which accepts date in mm/dd/yyyy format
36 Check for blank entry
37 Enter characters
38 Enter any special symbol like *,(,#,$ etc
39 Enter space character
40 Enter date in dd/mm/yy format
41 Enter date in dd/mm/yyyy format
42 Enter date in dd/yy/mm format
43 Enter date in mm-dd-yyyy format
44 Enter date in dd-mm-yyyy format
45 Enter date in yy/dd/mm format
46 Enter month greater than 12
47 Enter date greater than 31for any month
48 Enter date greater than 30 for all the months which have only 30 days
49 Enter date greater than 28 for the month Feb and which is not leap year
50 Enter date greater than 29 for the month Feb and which is a leap year
51 Enter negative values in date, month and year columns
52 Enter the value zero in date, month or in year field
53 Leave either date or month or year blank and enter the other details
54 Enter date in mm/dd/yyyy format
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 greater than To date
56 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
idation Test Cases
Required Output

y where x and y are any integers with x<y (Boundary Condition Testing)

It should not accept


It should accept
It should accept
It should accept
It should accept
It should not accept

h accepts only numbers


It should accept
It should accept
It should accept
Application specific
Application specific
It should not accept
Application specific
It should not accept
It should not accept
It should not accept

ccepts only positive integers


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

epts alphanumeric characters


It should accept
It should accept
It should accept
Application specific
It should not accept
Application specific
After typing to its capacity, the vertical scroll bar should display
Horizontal scroll bar should be displayed

Application specific
pts date in mm/dd/yyyy format
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

You might also like