can any one explain with example the diff between boundary
value analysis testcasees and equivalence class testcases
pls urgent
Answers were Sorted based on User's Feedback
Answer / biswal
a)Boundary Value Analysis and Equivalence Classes are two
techniques in Black Box Testing.
b)while writing Test Cases we can use these two techniques.
Boundary value Analysis:
It is nothing but a selection
technique in which testdata are chosen to lie along certain
boundaries.
That is imagine you have to write
test cases for a login field. which will accept 1-10
characters.So if u use boundary value analysis u have to
check with the boundaries that is test with 1 character and
10 characters.then check with 2 characters and 9 characters
and check without any character and with 11 characters.
So that means when u are using the
boundary value analysis that time u have to check withe
lower boundary,lower bolundary+1,Lower boundary-1,Upper
boundary,Upper Boundary-1,Upper Boundary+1.(ie
0,1,2,9,10,11)
Now Equivalence Partitioning:
Equivalence partitioning again is
also a technique.But here we are using with class not with
a value.
if you have to test a field which
will accept 1-10 numbers,then test with positive class (1-
10_,negative class (<1) and (>10).so checking with any
value from the positive equivalence class 1-10 will give
the correct result and checking the result with negative
class will be same for all the values in the negative class.
Hope now you are clear...
Thanks...
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / glamorous
Both should be used at the time of Input domain testing.
Input domain testing can be classified into 2 types
1. Length testing 2. Value testing
Length testing gives how many values to be entered for this
BVA is to be used that is values that are on the boundary
of equivalence classes.
Value testing gives what are the values to be entered for
this ECP is to be used that is it gives valid inputs and
valid outputs.
Ex:lets take an User ID field--> Enter 1 to 10 characters
comes under BVA,,, Enter only alphanumerics without any
other characters comes under ECP,,,
i think u have clarified with this plz let me know if u
clarified, if no sorryyyyyyyyyyyyy
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sasidhar
hi friend Biswal thanks ur reply
some how i clear........... so we have to categories
equivalence class partition data as
positive class data and negative class data...........
and apply it for testing
Is This Answer Correct ? | 0 Yes | 0 No |
Keep it simple
BVA: test cases on boundaries.
how? min--max is the range
min,min+1,min-1 and max,max+1,max-1
apply above rule for the min max boundary
Now ECP: divide the input range in the class
one valid and two invalid (for any type of range)
true and false ( for boolean)
so, when u divide ur input into valid and invalid class
there also falls boundaries. Now, apply ur BVA techniques to
minimise the test cases.
suppose input domain is 1-20
valid class=1-20
invalid class less than 1
invalid class more than 20
Hope the answer is clear to you
byeeeeeee
kishore
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sasidhar
hi friend Glamorous thanks ur reply
u will introduce me two new terminologies. can i consider
both for every input field what we are going to test
Is This Answer Correct ? | 0 Yes | 1 No |
White Box testing won't detect missing function? a. True b. False
what are reviews(eswar)
work break down structure in manual testing
Difference between QA and Testing?
13 Answers Deepak Enterprises, IBM, Mechanical, Trigent,
What is smoke test? Do you use any automation tool for smoke testing?
What are the challenges you faced in your project (Testing) and in your company?
what is meant by Adapt testing?
Hi all, I am currently working in manual testing and am interested in database testing. How do I change my career from manual to database testing? What are the prerequisites for that inorder to equip myself for database testing?
what is Gui testing and how is it performed
There is a front end application to enter name and marital status. you are provided with a fesh database. On entering 5 set of data at a time an error occured, but on entering rest of the records you were not able to reproduce it. What could have been the reason for the error.
Can anyone have some better answer for this.. Difference between Boundary value analysis & Equivalence partitioning?
What is a test server?