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
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.
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.
what are the typical problems in web testing?
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?
How do you define a testing policy?
What is performance tuning? What are tools of performance testing?
what is e-tester?
What are testing techniques? What is difference between general and specific?
What are the properties of a good requirement?
what is metrics in software testing? give me a brief detail about it?
Define what is a critical bug.
Usually customers won’t give all the requirements. How will you manage & collect all the necessary information?
1.what is a test condition ?
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
What are the different ways to check a date field in a website?