Hi,
We are coming over from iMacros and running into a few tough spots.
In the past we used variables to enter dates 7, 14 or 21 days in the past.
Is there a way we can do this with Test studio?
The format we need would be "09/01/2023+" the plus sign is included in how we enter the date.
With iMb we had the variable as "d=new Date();d.setDate(d.getDate()-21);var day=d.getDate().toString(); if (day.length < 2) {day = \"0\" + day;} var month = (d.getMonth() + 1).toString(); if (month.length < 2) {month = \"0\" + month;} var year = d.getFullYear().toString(); month+'/'+day+'/'+year+'+';""
I have been trying for a week now to figure this out. Thanks!