Page 1 of 1

Running a test dated a week earlier

PostPosted: Thu Feb 16, 2023 12:43 pm
by CathyA
Hello.

I need to enter dates into boxes, but I need the date to be 7 days earlier than the day I run the test.

How do I do that with eValid?

Re: Running a test dated a week earlier

PostPosted: Fri Feb 17, 2023 10:50 am
by eValid
CathyA wrote:Hello.

I need to enter dates into boxes, but I need the date to be 7 days earlier than the day I run the test.

How do I do that with eValid?


Thanks for asking CathyA.

You didn't explain specifically what kind of boxes, but if it is just normal text entry then you make the eValid recording using some arbitrary date and save the script.

Then, using any number of handy editing tools, you edit the script to have the specific date you want for your test.

Then, you have a new script with the correct date.

Sorry, but eValid doesn't have a calculator build in, so you have to do that part in a batch script.

We would suggest converting to Julian day, so the arithmetic is very easy.

See: https://en.wikipedia.org/wiki/Julian_day


-- eValid Support