Hi everybody. In an interview i was asked to write the ECP
for the range (1-10).
Answers were Sorted based on User's Feedback
Answer / sandeep
ECP means Equivalence case partition ..... for this case
test data will be (any number less than 1 )-(any no between
1 to 10)-(any number greater than 10)...for ex-(0,1,11)
| Is This Answer Correct ? | 28 Yes | 5 No |
Answer / roli
ECP means Equivalent class partioning.In this method we
devide a data into multiple equivalent classes where we
assume that a data of perticular aclass is representing
whole class .as per question there is not mentioned how to
choose the class.you can take as many classes you
want.according to BVA there should be 2 invalid data&one
valid data.the invalid data should be
lowerboundryvalue-1 i.e value is 0 & upper boundry value+1
i.e valuue is11&valid data should be any value between1&10
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
Answer / priya
ECP means Equivalence case partition ..... for this case
test data will be (given range less than 1 )-(any num given
range between 1 to 10 ie valid num)-(given range greater
than 10)...for ex-(0,5,11)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / gaurav goel
I guess all the above answers are referring Boundary Value
Analysis and not Equivalence Partioning as in BVA we check
the case at the boundaries , but in ECP we divide the input
domain into classes of data and do not check the input
domain at the boundaries.So we will check the case in two
classes like one (1-5)in which we will check for any value
falling in between this range and similarly the other is (6-
10).Pls correct me if I am wrong.
Thanks
gauravcs1984@gmail.com
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / rahul
Equivalence class partition
Valid Invalid
(0-9) upper case (A-Z)
special characters lower case (a-z)
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / annie
ECP - Equivalence case partition
example
let condition will be 1>=10
we suppose to check -1,0,1 and
10,11 etc..
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / queenie29
Gaurav is correct. Everybody above is referring to BVA not ECP - they both are different.
We have to divide the input data into different classes for Valid input and for Invalid data the rest (like alpha, alpha-numeric,numbers except 1-10, special chars) can be considered.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajtelco04
Hi Sandeep , I totally agree with answer.Thanx buddy.May I
get ur email id.
| Is This Answer Correct ? | 0 Yes | 1 No |
Once automated, what are the types of functionality provides the highest Return On Investment (ROI) to the company?
What is the difference between qa, qc, and testing?
Suppose " You are given a build with 5 modules to test as per the Customer request after finalization of SRS, But the SRS contains only documentation about 4 modules. On what basis you will continue the testing of 5th module." ?
15 Answers HCL, TCS,
can we directly write test cases in test directory.
what is the difference between application server and web server?
One very small question, If application/ website performing all the function perfectly like submission, deletion, editing etc, why do we require Data base testing saparately. Please understand before reply thanks !!
what is the test case for bank check leaf??
How can software qa processes be implemented without stifling productivity?
How many flows of Events are there?
why Can't the system testing be done at any stage in V- Process Model? reasons
What exactly you do as a Configuration controller?
Application contains many text fields,buttons etc.Many test cases can be written for the application.I read that test cases should not be too many.So text fields can be tested by entering Blank space,special symbols,Alphanumeric data,Empty & so on IF I write for all these data for every text field on each screen then my test cases will be unnecessarily too long .I m confused here wether I write Test cases for all or not.Suggest me the proper answer.I want answer from Experienced person