saranoor
5 years agoFrequent Contributor
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.
That script is simply an example of how to get today's date. It demonstrates logging to the test log the date as is.
If you need to use the date for some other purpose, you would use the aqDateTime.Today() method in that vein.
However... without more specifics of EXACTLY what you're trying to do, all I can do is give the general reference.https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqdatetime/today.html