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 prepare unit test scripts for accrued interest calculation.
how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?
Could someone answer the following testing Questions? 1)Give 5 reasons why a build can be released with bug 2)Write a bug report for a word processor program which crashes when the contents of 89th column is been sorted in assending order. 3)write test 10 cases for program which has a table with 2 fields of NAME od char type and CLASS of INT type.NAME fields is truncated after 26 charaters and CLASS takes value between 1 to 9 both included. There are 3 possible opearations program can perform a)When a new student joins the class the program adds a new field b)When student leaves the class the field get deleted c)when student gets promoted then program incremts the class by 1 Write 5 test cases for the scenario. 4)write 10 test cases for a program that takes date in dd/mm/yyyy format and prints it out with a increment of 1. for dates (dd) can be given in the range 1<=dd>=30 for months (mm) can be given in the range 1<=mm>=12 for years(yyyy) can be given in the range 1600<=yyyy>=9999 5)Give 5 bugs that could cause a program to crash when it printed the 999999 th pages 1000001th line.
build 1 bug is raised and it was closed by developer and build 2 is released in build 2 also same bug raised what is the satus of that bug. 1>reopen 2>open 3>new 4>defered
What is test environment? Elaborate with example.
what is the purpose of writing testcases
Write a test case of login window?
why we need a test plan
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Create (Local Only),
pls i want test cases for telecom billing system
Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.
how to write test cases for "Browse" button.