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 |
Hi recently in an interview I was asked to write API test cases. Since I am not familiar with it can someone put more light towards API testing and give some example test cases for the same. Thanks!
Test cases on uplaoding files
12 Answers GE, HP,
how to write junit testcase for ejb3.0 project.. pls reply soon to this mail id shnkrgnsh@gmail.com
write a test cses for sending mails through microsoft- outlook xpress?
What is a test case?
What is the difference between test scenarios, test cases, and test script?
How to write test scenarios for a Web application, with an example?
Who will take care of test plan and test case?
What is the logic testing?
write a navigation for object repostory
For the following piece of code, how many test cases are needed to get 100% statement coverage? Procedure X Read (Color) // Input color from user IF (Color == “Red”) THEN Call Roses(Color) ELSEIF (Color == “Blue”) THEN Call Violets(Color) ELSE PRINT “User is no Shakespeare” SaveToDatabase(Color) End Procedure X A. 5 B. 3 C. 1 D. 2
How would you do " Keeping two folders in sync testing"
0 Answers ABC, HCL, Microsoft,