Date Addition
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action in Avo Assure which is Located under the @Generic element category. It instructs the Avo Assure Client to add the given date with No. of days count and store the result in output variable.
Input: <date>; <number of days>; <current date format>
Supported date formats:
dd/MM/yyyy
MM/dd/yyyy
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Consider a scenario where you are testing an e-commerce application where an order's estimated delivery date is calculated by adding a specified number of days to the order date. It automates the validation of date calculations for delivery times. It ensures that the system consistently provides accurate delivery estimates based on varying order dates, making sure that any updates to the date logic are properly tested. These scenarios help ensure that the Date Addition action handles different types of input correctly. The application should correctly add a specified number of Days to a given date and display the resulting date
Order Date: 23/10/2024
Days to Add for Delivery: 4
It should add the no. of count day in given date and provide the resultant date as 27-10-2024.
The system should calculate the estimated delivery date as 27/10/2024.
Store this calculated date in an output variable, such as {result}..
The action performed and saves the resultant date in the {result} output variable as 27/10/2024.