Dates and Times in Test Cases

Date and time values should be specified using a format corresponding to the format of the Field. For example, a Field ‘AESTDAT’ with format ‘dd MMM yyyy’ and Field ‘AESTTIM’ with format ‘HH:nn’ should be entered like this:

When I enter data:
  | DataPoint        | Value       |
  | AE.AE.AESTDAT[0] | 10 JAN 2020 |
  | AE.AE.AESTTIM[0] | 16:30       |
Then I should see field "AE.AE.AESTDAT[0]" has value "10 JAN 2020"
And I should see field "AE.AE.AESTTIM[0]" has value "16:30"

Partial dates and times

Partial dates and times should be entered using ‘UN’ and ‘UNK’ as in Rave:

When I enter data:
  | DataPoint        | Value       |
  | AE.AE.AESTDAT[0] | UN UNK 2020 |
  | AE.AE.AESTTIM[0] | 16:UN       |
Then I should see field "AE.AE.AESTDAT[0]" has value "UN UNK 2020"
And I should see field "AE.AE.AESTTIM[0]" has value "16:UN"

Incomplete dates and times

Incomplete dates and times should be entered using underscores as placeholders for the missing parts of the date. TrialGrid will enter these as empty in Rave. Underscores should also be used in verification steps.

When I enter data:
  | DataPoint        | Value       |
  | AE.AE.AESTDAT[0] | __ ___ 2020 |
  | AE.AE.AESTTIM[0] | 16:__       |
Then I should see field "AE.AE.AESTDAT[0]" has value "__ ___ 2020"
And I should see field "AE.AE.AESTTIM[0]" has value "16:__"

Note

Underscore characters in non-datetime fields will be entered into Rave.