mr18
Tera Guru

In the ATF, select the test step as 'Set Field Values' and try below

find_real_file.png

Select the field for which you want to set current date and time and use the code as 'javascript: gs.nowDateTime()'

As I mentioned in my first response, for the Date field we need to use below

javascript: gs.nowDateTime().getDate();

without calling getDate() it will return Date and Time which will cause a problem here.

 

If you will see my reply I have mentioned clearly which test step he has to use in order to do that

Ankur Bawiskar
Tera Patron

@Adam Domanski 

you should set the local date as below in the ATF test steo

javascript: new GlideDateTime().getLocalDate();

Regards
Ankur