get past date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>”
All Step Definition get past date of {int} hours from now and save as {string} variable in format {string} Keyword Given, When, And, Then Description Will get past date which will come before mentioned hours from now and store it in a variable Declaration Code Element Application Test Data when get past date of “48” hours from now and save as “RandomPastDate” variable in format “dd-MM-yyyy” NILL NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name (+int) for future and -int for past 0 for today format supported: ddMMyyyy – 13042023 (13th April 2023) dd-MM-yyyy – 13-04-2023 MM/dd/yyyy – 04/13/2023 yyyy/MM/dd – 2023/04/13 dd MMM yyyy – 13 Apr 2023 dd MMMM yyyy – 13 April 2023 E, dd MMM yyyy – Thu, 13 Apr 2023 EEEE, dd MMMM yyyy – Thursday, 13 April 2023″ Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction