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


Please Help Members By Posting Answers For Below Questions

in an online banking software,users are connecting to bankserver by login.This login module can take below inputs for user. a/c number prefix-3 digits but doesnot start with 0&1 a/c number sufix-6 digits number password-5to 10 chars alphanumerics in lowercase areacode-3 digits number but optional purpose- cheque deposit money trasfer mini statement bills pay After filling above fields,user can click submit button to connect to bank server.prepare test scenarios for online banking s/w login.

1530


Please explain how to elaborate on the types of system/functionality for testing Payments, Statements, & Transactions features in a bank.....like what do we test in these,in detail? It's urgent, please reply...thanks in advance.

2012


what are the typical problems in web testing?

756


i have done B.E. computer in 2009 i have done software testing course and also 6 months exp in testing on live project as trainee, now a days i am searching job in pune. can any one tell me any opening in pune?

1569


How do you define a testing policy?

593






What is performance tuning? What are tools of performance testing?

667


what is e-tester?

2052


What are testing techniques? What is difference between general and specific?

1638


What are the properties of a good requirement?

1475


what is metrics in software testing? give me a brief detail about it?

4164


Define what is a critical bug.

672


Usually customers won’t give all the requirements. How will you manage & collect all the necessary information?

764


1.what is a test condition ?

1539


Hi I want to start online training couses for testing Any body plz help me out how to start the online courses Plz post the answer here or send me a mail for kommineni.1020@gmail.com

1714


What are the different ways to check a date field in a website?

676