Exforsys

Online Training

Plz answer

This is a discussion on Plz answer within the Software Testing forums, part of the Testing category; Hi! plz answer it! how to write the test case for time and date like TIME : 09:34:32AM DATE : ...


Go Back   Exforsys > Testing > Software Testing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2008, 02:43 AM
Junior Member
 
Join Date: Mar 2008
Posts: 14
moiz pasha is on a distinguished road
Plz answer

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

moizs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-03-2008, 01:32 PM
Junior Member
 
Join Date: Jul 2008
Posts: 9
Noorjahan is on a distinguished road
1. Check whether the "hr" lies between 1 to 12 if it is 12 hr clock
2. Check whether the "min" lies between 1 to 60
3. Check whether the "Sec" lies between 1 to 60
4. Check whether the operation of sec, min and hr taking place correctly i.e after 60 sec did the sec column reset to 0 and min column is added 1 and when min column reaches 60 did hr column is added 1
5. whether AM, PM taking place correctly.

Similar checks can be done for date also..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-04-2008, 01:49 PM
Junior Member
 
Join Date: Apr 2008
Posts: 8
sukanya_QTP is on a distinguished road
time and date?

Quote:
Originally Posted by moiz pasha View Post
Hi!
plz answer it!
how to write the test case for time and date like
TIME : 09:34:32AM DATE : 12 MAY 1987

moizs
did u mean that u wanted to get time and daet in the format u specified?
use it like this
starttime=time
todaysdate=date
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-05-2008, 09:05 AM
Junior Member
 
Join Date: Mar 2007
Location: coimbatore, india
Posts: 23
lawrence is on a distinguished road
Sukanya,

Moiz asked how to write test cases for time and date format. I do not know what you have answered.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Manual Testing Interview Questions devi n Software Testing 4 08-26-2008 02:05 AM
Is my answer Right rachelle Microsoft .NET 0 06-13-2007 07:20 AM
How Do I See Correct Answer? lokeshm Certification News 5 04-19-2005 01:17 AM
Quarterly ASCII posting of SCO Programmer's FAQ Boyd Lynn Gerber Tech FAQ 0 04-25-2004 10:11 PM
Motif FAQ (Part 4 of 9) Ken Lee Tech FAQ 0 04-18-2004 08:54 AM


All times are GMT -4. The time now is 04:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.