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

When we are recording in WinRunner and interact with the AUT, what does WinRunner do?

1584


In simple steps how will you do unit testing using VSTS?

682


what is acid testing?

2124


1.What is configuration Management? 2. Explain Impact Analysis 3. Explain Peer Review 4. what i kickoff phase of Formal Review. 5. Whatv are the phases of fundamental test process. 6. what is state transition testing. 7. what is LCSAJ 8. Test conditions are derived from where?

1518


how will you estimate of your website?

1660






what r the measure bugs found in your project??? Give some example abt this.

3795


i have source and target having same data structure 500 fields and one lacks records. how to validate data. write 5 scenarios.

4788


What is Difference between Test Strategy and Test Methodology?

1721


What is verification in software testing?

669


HOW TO CREATE SRS REVIEW REPORT TO PL?

1898


write test condition for testing SMS service of a mobile phone maximun length is 100 character while sending and 80 character for receiving write test scenarios do not write test cases

3038


Explain accessibility testing and its importance in the present scenario.

671


in the account there is 10,000 rupees and i entered 20000, in this case how will you test the application

1255


Can anybody give whole test cases for banking module.it should include from start to end .that will help me more.to do study.it should contain account,deposite,withdraw,fd,atm modules.?please try to give me??

1712


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?

1559