Exforsys
+ Reply to Thread
Results 1 to 4 of 4

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 : ...

  1. #1
    moiz pasha is offline Junior Member Array
    Join Date
    Mar 2008
    Answers
    12

    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


  2. #2
    Noorjahan is offline Junior Member Array
    Join Date
    Jul 2008
    Answers
    9
    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..


  3. #3
    sukanya_QTP is offline Junior Member Array
    Join Date
    Apr 2008
    Answers
    8

    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


  4. #4
    lawrence is offline Junior Member Array
    Join Date
    Mar 2007
    Location
    coimbatore, india
    Answers
    21
    Sukanya,

    Moiz asked how to write test cases for time and date format. I do not know what you have answered.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...