how to write the test case for 1 to 12 months in equivalence
partitioning?
Answers were Sorted based on User's Feedback
Answer / a.sivamani
equivalence partitioning is to test the alphanumeric
fields.EP is to reduce the number of test cases.Because we
cant write 1 to 12 test cases to test the months.
we need to partition the inputs....
1.test case with less than 1 - Invalid data
2.test case between 1 and 12 - valid data
3.test case with greater than 12 - Invalid data
Above there are three partitions....
Take one value from each partition to test the months
Is This Answer Correct ? | 12 Yes | 0 No |
My previous ans consists of a small mistake.
There will be two types of test cases
1) will be with valid test data
2) will be with invalid test data
Here valid test data is min, min+1, max-1, max i.e 1,2,11,12
Invalid test data is min-1, max+1 i.e 0,13
for equivalence partition we also apply boundary value
analysis also
Is This Answer Correct ? | 3 Yes | 1 No |
In equivalence partioning, equivalence classes are created.
In this example the range is from 1 - 12.
So we can write a single test case with any value between 1
to 12. If it gets passed then the application will work
with any of the values between 1 to 12.
If we want to perform boundry value analysis, then the
inputs that are required are
min value -> 1
min - 1 -> 0
min + 1 -> 2
max value -> 12
max - 1 -> 11
max + 1 -> 13
So total 6 test cases are required.
Is This Answer Correct ? | 1 Yes | 0 No |
There will be two types of test cases
1) will be with valid test data
2) will be with invalid test data
Here valid test data is min, min+1, max-1, max+1 i.e 1,2,11,13
Invalid test data is min-1, max+1 i.e 0,13
for equivalence partition we also apply boundary value
analysis also
Is This Answer Correct ? | 0 Yes | 4 No |
What is the basic stuff you require to begin creating test cases?
Explain the ramp testing?
Hi, I am doing project related to Online order Booking. In this project different products will be there. The user can order the product to different location by giving different shipping Addresses. By selection of Address shipping price will be calculate. My Question: Now the shipping related part they are integrating with UPS(www.ups.com) Depending on the From Zip code, To Zip cobe and Quantity weight the shipping price will be calculated. I want test scenarios to test the shipping part. I think ASAP u will help me. My mail id srinivasukona@gmail.com
Write 10 test cases for the condition P=R/I where R and I are integer and P is floating point.
Suppose that you're running tests on windows calculator and find that 1+1=3, 2+2=4, 3+3=7, 4+4=8, 5+5=11, 6+6=12. write a bug title and bug description that effectively describes this problem.
Which of the following defines the expected results of a test? Test case specification or test design specification.
This was asked to me recently in Microsoft interview How would you do DOS copy command testing
An Excel sheet contains 2rows and 3 columns of data.I want to copy these data in to the another excell sheet. Write the possible positive and negative test cases?
Sample test cases for data conversion(Utility billing system)
Tell me number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF
test case for open doalog box. thanks a lot!
By clicking the file button on a Word document and opening the Print window, Identify what needs to be white box tested and what needs black box testing. (On the black box testing items, identify boundary conditions and equivalence partition testing is possible and give data examples.)