where to use B.V.A and where to use ECP for the same date,month,year input field
Hi to all,
Consider the scenario
for D.O.Birth input should be within the range 01/01/2000 to 01/01/3000.
for this task, where i have to use (for which parts) B.V.A and where i have to use ECP. Expecting a clear reply.
and also tell me Does BVA is equivalent to ECP?
Thanks in advance
Re: where to use B.V.A and where to use ECP for the same date,month,year input field
Hi
<i>Can you throw some light on ECP by expanding it?</i>
Regarding the Boundary value analysis the testing will be done as:
<i>On the Boundary: 01/01/2000 and 01/01/3000 </i>
Here the testing should pass
<i>Below the Boundary: Values less than 01/01/2000</i>
Here the testing should Fail
<i>Above the Boundary: Values greater than 01/01/3000</i>
Here the testing should Fail
Regards,
Ganesan
Re: where to use B.V.A and where to use ECP for the same date,month,year input field
[B]BVA (Boundary Value Analysis)[/B]
First BVA for DOB input should be 01/01/2000 to Current date.Bcoz DOB cannot be future date.
So BVA would be
Min 01/01/2000 -- Pass
Min-1 31/12/1999 --Fail
Min+1 02/01/2000 --Pass
Max Current Date --Pass
Max-1 Current Date -1 --Pass
Max+1 CurrentDate+1 --Fail
[B]ECP(Equvalence Class Partitioning)[/B]
1.Valid Dates between 01/01/2000 to Current Date --Pass
2.Invalid Dates between 01/01/2000 to Current Date --Fail .
E.g Dates without proper format (MM/DD/YYYY)
3.Invalid Date 01/01/2000 to Current Date --Fail
E.g. No of Days for Month having 31 days,Febraury Month with 30 and 31 and 29th Feb for non leap year