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 |
How to write the test cases for STP
int a, int b, int c= (a+b); Write the test cases for c.
How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?
hai im finished software testing course im technicaly strong but yet now no opportunities come to me.if any opportunities please send to my mail id my mail di is sumathi11685@gmail.com
What is quick test professional and what test environment it supports?
Which testing is important, positive testing or negative testing. Test cases for postive and negative testing for a given functionality.
Hai can anybody give me an idea about writing automated test cases in qtp using VB scprit.please respond as quicky as possible.
Write a Test Case to test Can of Red Bus Booking
How many test cases you will execute per day?
What could be test cases for windows calculator using risk based testing
Writing Test cases based on the understanding of the UX document
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?