Forum Discussion

saranoor's avatar
saranoor
Frequent Contributor
5 years ago
Solved

How to add today's date to a step in test complete -

When I click on that Field a calendar is displayed and I can see that todays date is highlighted.

Attaching Screenshots of teh step and the UI.

 

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Easy sample code to demonstrate

     

    Log.Message(aqDateTime.Today())

    • saranoor's avatar
      saranoor
      Frequent Contributor

      So write this as a script  and call it in that step? run the script at that step?

      Log.Message(aqDateTime.Today())