Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to write the test case for time and date
like TIME : 09:34:32AM
DATE : 12 MAY 1987

Answer Posted / smitha

Actually all the fields for TIME should be combo boxes.Check
combo boxes visually i.e HH should be from 1 to 12 and MM,
SS should be from 1 to 60.

If the Time field is editable then do the following procedure.
To check TIME(HH:MM:SS AM/PM)
1.HH(Hours) should be between 1 to 12, so try giving numbers
below 1 and above 12. It should not accept. Also try to
enter negative numbers(or some junk values) and check.
2. For MM ans SS enter numbers below 1 and above 60 and
check the result.
3.AM/PM will be in a combo box.There should not be any other
field other than AM, PM.Also note that AM/PM field should
not be editable.

Similarly for the DATE(DD/MMM/YYYY) also.

If the fields in Date are combo boxes, then check visually
i.e DD should be from 1 to 31,MMM should be JAN,FEB...DEC
and YYYY can be any valid range according to the
Requirements document.

Sometime DATE is provided by Calender pop up.Checking that
is very simple.We have to check for month increment button
and year increment button.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the technology used in financial applications?

3513


consider a program module that inputs two (2) values, n and max, and computes the sum of the first n integers as long as this sum is less than max; otherwise an error should be reported. if n is negative, then it takes the absolute value. a) list the equivalence partitions, and b) list the boundary values.

2280


How to write test cases for "open file dialog box" for ms word? Thanks a lot!

4118


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?

3020


How can we write a good test case?

1168


Explain the format of a requirement traceability

1101


Explain the ramp testing?

1179


Explain the scalability testing?

1154


Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?

2479


Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com

3818


How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character

1952


150 integration testing scenarios for gmail

12873


What is component testing?

1260


Do you know mutation testing?

1227


Sample test cases for data conversion(Utility billing system)

7516