get past date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>” – SoliteraTA

SoliteraTA

All Step Definition

get past date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”

get past date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

get past date of “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”

Keyword

Given, When, And, Then

Description

Will get past date which will come before mentioned days from now and store it in a variable

Declaration
				
					when get past date of "17" days from today and save as "RandomPastDate" variable in format "dd-MM-yyyy"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
  3. (+int) for future and -int for past 0 for today

  4. Ā 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
  1. Element and application file should be in xml format.

Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more