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

User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox

1125


how to write test cases for the example state name starts with A B C D E F G H I J K L Z

2049


How to write test cases or test scripts for UAT testing which is done manually

4916


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

2046


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

888






1.1 Purpose This tool is also a simple tool, but will be graphics- intensive, and will access the 3 databases (card databases) used in Tarot. 1.2 Scope Only for registered user. 1.3 User Interface - No questions asked, parrot pulls out tarot card - Inside Parrot application, User just have to click on a link saying ""XXXX"" to activate the tool. - Shown is the card of the day, from pack of Tarot cards(78 in number) with fixed graphics, animation, audio. Output: - Graphic-rich display of randomly selected card with detailed meaning, with links to tarot tool. - Graphics: Flying / walking parrot, emerging and choosing a card, displaying the same, and continuing to interact based on card meaning. - The cards also need to carry a brief 1/0 meaning, which will trigger a 1/0 behavior from the parrot (sympathy/making fun/crying or congratulating/smiling/winking)

1449


Write a test case on a durability of an electric bulb and test it that it will last for next 10 months.

1991


Define some of the attributes of a test case?

666


I need GUI test case for home page?

3193


How to write the test scenarios for the following: 1. Searching train. 2. Data encryption and decryption. 3. Single signon. 4. Document printing. 5. Testing EMail. 6. Data authentication.

3012


Could you pls give me sites where i can test card? mail me to

2261


How to test a stored procedure?

626


What is component testing?

702


How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent

2083


1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.

1628