Explain Boudary value testing and equivalence testing ?
Answer Posted / imran tibetbakal
equivalence testing :
Test cases for input box accepting numbers between 1 and
1000 using Equivalence Partitioning:
1) One input data class with all valid inputs. Pick a single
value from range 1 to 1000 as a valid test case. If you
select other values between 1 and 1000 then result is going
to be same. So one test case for valid input data should be
sufficient.
2) Input data class with all values below lower limit. I.e.
any value below 1, as a invalid input data test case.
3) Input data with any value greater than 1000 to represent
third invalid input class.
So using equivalence partitioning you have categorized all
possible test cases into three classes. Test cases with
other values from any class should give you the same result.
We have selected one representative from every input class
to design our test cases. Test case values are selected in
such a way that largest number of attributes of equivalence
class can be exercised.
Equivalence partitioning uses fewest test cases to cover
maximum requirements.
Boundary value analysis:
It’s widely recognized that input values at the extreme ends
of input domain cause more errors in system. More
application errors occur at the boundaries of input domain.
‘Boundary value analysis’ testing technique is used to
identify errors at boundaries rather than finding those
exist in center of input domain.
Boundary value analysis is a next part of Equivalence
partitioning for designing test cases where test cases are
selected at the edges of the equivalence classes.
Test cases for input box accepting numbers between 1 and
1000 using Boundary value analysis:
1) Test cases with test data exactly as the input boundaries
of input domain i.e. values 1 and 1000 in our case.
2) Test data with values just below the extreme edges of
input domains i.e. values 0 and 999.
3) Test data with values just above the extreme edges of
input domain i.e. values 2 and 1001.
Boundary value analysis is often called as a part of stress
and negative testing
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
KINDLY FORWARD ME THE INTERVIEW QUESTIONS & ANSWERS FROM REAL TIME POINT OF VIEW FOR 1.5 YEARS EXPERIENCED CANDIDATE. MY EMAIL ID IS sky_bird433@yahoo.com
If anyone have attended interview with deloitte for the post of senior manual test engineer. Please share the interview process and the questions asked. How to prepare for the interview. Thanks in advance
What is the difference between coupling and cohesion?
How to write test case for view the table(i.e it is already stored in database and see the content in the table)
what is mean by Performance Related Testing in data base?
What’s the difference between a bug and a defect?
What are the main key components in client and server applications?
test cases for Insurance Processing System ?
write test case for linked in sign up page ?
Can anyone please answer the below question on Manual Testing: Tell me about atleast 5 bugs you come across in your last testing?
Do submit teststrategy to customer if yes at what time
What is quality center? What are the modules of quality center?
What's the relationship between environment reality and test phases?
What is Registry?
What is the difference between static testing and dynamic testing?