May 6, 2011

Equivalence class partitioning and Boundary value analysis.


Equivalence class partitioning 
A set of valid input data is selected, with those data choose randomly a value. Using that value which was given as an input and the output which was expected will be verified.
Boundary value analysis 
The maximum and minimum value for a range given should be calculated. max/min value will 
be given as input data  and the expected outcomes were verified.
Ex:
Consider number of employee in our company
Totally 80 members
Entry in the gate  need to write the conditions.
For ECP
Num 1-80  valid to entry in the gate
Valid - 5 or 64 or 35 or 79
Invalid – 864 or 82 or -34 or-1
For BVA
Valid- 1 or 2 and 79 or 80
Invalid – 0 and 81
Valid -> entry in the gate 
Invalid -> Not applicable.
These are the valid and invalid data to be given to calculate the ECP and BVA.



1 comment:

  1. Equivalence Class Partitioning. This testing technique divides or partitions the input data into several smaller segments on which to try the test cases.STC Technologies

    ReplyDelete