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

How to generate test cases for 'replace a string' method?

1480


plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...

2457


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

4987


How can we write a good test case?

1210


What is the logic testing?

1320


test cases for bus transport (TNSTC)

3513


what is the test plan for ms-word

2555


There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.

3629


Do you know mutation testing?

1293


Scenarios to test wireless Speaker via bluetooth

5529


What is the syntax testing?

1212


Who will take care of test plan and test case?

2154


What is the state testing?

1272


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

2009


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.

2189