Get Current Day
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 fetch the current day from the system and subsequently store it in the output variable.
Input: N/A
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Consider a scenario where you are testing an application that sends out meeting notifications on specific days of the week. You need to test the functionality where in the application sends notifications only on scheduled days (e.g. Tuesday)to verify the accuracy and reliability of the notification system. A Test Step can be created using the Get Current day action to verify:
Today is Tuesday
Select current day to Tuesday
Start the notification function
It should fetch the current day from the system and send a notification based on day.
The action when performed saves the current day in {result} output variable as Tuesday.