Hi everybody. In an interview i was asked to write the ECP
for the range (1-10).
Answer Posted / rahul
ECP means Equivalence class partioning.
you have limitation for picking the test data means lower
boundary is 1 and upper boundary is 10.
Now as per BVA (Boundary value analysis)you have 3 sets of
data - two invalid data and one valid data.
since lower boundary is 1 then 1st invalid data would be 0
(according to min-1)and 2nd invalid data would be 11
(according to max+1). And valid data would be 1 and 10 since
these are the boundary. Now as per the requirement it is not
mentioned that which type of data you have to select so
assume all class. so think how many types of input we can
give from keyboard.(alpha, numeric,special character,alpha
numeric,numeric special character,alpha numeric special
character)
We created our class as well as we have boundary condition.
As per BVA 1st invalid data we can't create since it is 0,
it means null. Now come to the lower boundary that is 1 so
we can create test data as a,A,1,@,similarly prepare your
test data for upper boundary (for alpha create lower case
and upper case as well)and for beyond upper boundary that is
11.Create test data for only 11 character not for 12 or
greater then 11.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the tasks of test closure activities in software testing?
how to test ecg machine?
What was a problem you had in your previous assignment (testing if possible)? How did you resolve it?
How does compatibility testing differ while testing in Internet explorer and testing in Firefox?
send the senario template
What is the difference between coupling and cohesion?
can any body tell me what is the process of between after getting a documents and testcase writing.
what is the difference between Risk based and Requirement based testing???
What are the RBI rules has to follow by a bank for online precesseing. ?
What is error cusing tecnique
what does 80hz refresh rate indicates?
Need to know about Quality Center in brief
How do you define a testing policy?
What is 'Account Conditioning'?
Can you explain random/monkey testing?