FitNesseForAppian Release v17.3.2 - How to get the Todays date from the calender

hi

I am trying to get the date from the calendar using the below script (Tempo Fixture), but it is not working, please advise if any one knows what exactly I need to write

 

Script1

|populate field |Due Date|with  |!sysdate {MM/dd/yyyy}  |

 

Script2

|populate field |Due Date|with  |!todate {MM/dd/yyyy}  |

 

 

with regards

Satheesh

  Discussion posts and replies are publicly visible

Parents
  • Hi Satheesh,

    Have you made sure to remove the ! before the |script| at the beginning of your fixture table? This is my best guess as the the cause of the error that you are seeing. Preceding a test table with the ! will make any widgets in the table (such as !today) inoperable.

    You'll then want to use !today (MM/dd/yyyy) as brettw has suggested. So your script will look something like the following:

    |script|
    |populate field| Due Date| with | !today (MM/dd/yyyy) |

    Thanks,
    Lucas
Reply
  • Hi Satheesh,

    Have you made sure to remove the ! before the |script| at the beginning of your fixture table? This is my best guess as the the cause of the error that you are seeing. Preceding a test table with the ! will make any widgets in the table (such as !today) inoperable.

    You'll then want to use !today (MM/dd/yyyy) as brettw has suggested. So your script will look something like the following:

    |script|
    |populate field| Due Date| with | !today (MM/dd/yyyy) |

    Thanks,
    Lucas
Children