how to write the test case for 1 to 12 months in equivalence
partitioning?

Answer Posted / uppal

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Test a file replication service that copies files from one net location to another

2064


Can some body help to write possible test cases for a credit card at POS (point of sale)

2343


how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

1958


1. Buzz Words 1.1 Purpose Allow user easy access of content based on key/popular words 1.2 Scope All the tags at the portal. 1.3 User Interface - Tags are usually hyperlinks that lead to a collection of items that are associated with the tag. - Click takes you to page similar to Search Result page, should search all content and not only articles - Based on Most Viewed only 1.4 Interfacing/Sourcing Details - Need to develop an application which works on algorithm to calculate size/color of Buzz words. - In phase 1 algorithm will be pretty straight forward of calculating dimesion of Buzz words by going by ""Most Viewed/Visited"" words. Need to get exact algorithm.

2241


Please guide me for Add new user test cases

1112






How to write test cases for "hotel reservatrion" for ms word? Thanks a lot!

686


Explain the soak testing?

692


What are the possible test cases for a palindrome.It must be starting with alphabet and its length is 100 .It should accept alphanumerics only.It should take only 100 numerics to the textbox

4457


What are the Test Cases Comes under Regression Suite?

510


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

1857


Scenarios to test wireless Speaker via bluetooth

4758


Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu

1788


Explain the branch coverage testing?

710


If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date

2076


What is test environment? Elaborate with example.

653