#TODAY

Description

Substitutes the current date.

Note:

The #TODAY reserved word does not have a closing pound sign (#). It cannot be followed by another reserved word.

Example

Suppose you have the following test instruction:

12. Enter the current date into the Event Date field.

The following step sets the value of the Event Date field to the date at the moment of test execution:

Type Action Recognition Parameters Value

Text

Set_Value

ID=PA_CLC_EMP_VW_EVENT_DT

#TODAY

You can use the + or – operators in conjunction with the #TODAY reserved word to reference a date in the future or past. In this example, the test verifies that the calculation event date is 10 days in the future:

Type Action Recognition Parameters Value

Text

Set_Value

ID=PA_CLC_EMP_VW_EVENT_DT

#TODAY+10