Date Addition
Last updated
Last updated
Description and Usage: 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.
Syntax:
Input: <date>; <number of days>; <current date format>
Supported date formats:
1. dd/MM/yyyy
2. MM/dd/yyyy
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Use case/Example:
Scenario: Delivery Date Calculation Consider a scenario where a user is 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.
Input Data:
Order Date: 23/10/2024
Days to Add for Delivery: 4
Expected Result:
The system should calculate the estimated delivery date as 27/10/2024.
Store this calculated date in an output variable, such as {result}.
Expected Output: It should add the no. of count day in given date and provide the resultant date as 27-10-2024.
Output: The action performed and saves the resultant date in the {result} output variable as 27/10/2024.
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:
1. dd/MM/yyyy
2. 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.
Input Data:
Order Date: 23/10/2024
Days to Add for Delivery: 4
Expected Result:
The system should calculate the estimated delivery date as 27/10/2024.
Store this calculated date in an output variable, such as {result}.
Expected Output: It should add the no. of count day in given date and provide the resultant date as 27-10-2024.
Output: The action performed and saves the resultant date in the {result} output variable as 27/10/2024.