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
How to generate test cases for 'replace a string' method?
plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...
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
How can we write a good test case?
What is the logic testing?
test cases for bus transport (TNSTC)
what is the test plan for ms-word
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.
Do you know mutation testing?
Scenarios to test wireless Speaker via bluetooth
What is the syntax testing?
Who will take care of test plan and test case?
What is the state testing?
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.
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.