An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are:
A. 0,1900,2004,2005
B. 1900, 2004
C. 1899,1900,2004,2005
D. 1899, 1900, 1901,2003,2004,2005
An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are:
A. 0,1900,2004,2005
B. 1900, 2004
C. 1899,1900,2004,2005
D. 1899, 1900, 1901,2003,2004,2005
on the forum I have found the below explanation which makes sense :
The boundary values are:
1) on the lower boundary, lower boundary -1, and lower boundary +1
2) on the upper boundary, upper boundary -1, and upper boundary +1
Therefore, the answer is d) 1899, 1900, 1901, 2003, 2004, 2005
Why C and not D?