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


Please Help Members By Posting Answers For Below Questions

What are the tasks of test closure activities in software testing?

625


how to test ecg machine?

1371


What was a problem you had in your previous assignment (testing if possible)? How did you resolve it?

1593


How does compatibility testing differ while testing in Internet explorer and testing in Firefox?

2785


send the senario template

1491






What is the difference between coupling and cohesion?

685


can any body tell me what is the process of between after getting a documents and testcase writing.

1521


what is the difference between Risk based and Requirement based testing???

1713


What are the RBI rules has to follow by a bank for online precesseing. ?

1721


What is error cusing tecnique

1498


what does 80hz refresh rate indicates?

2368


Need to know about Quality Center in brief

1476


How do you define a testing policy?

588


What is 'Account Conditioning'?

3974


Can you explain random/monkey testing?

656