Get Current Day
Last updated
Last updated
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
Expected output: It should fetch the current day from the system and send a notification based on day.
Output: The action when performed saves the current day in {result} output variable as Tuesday.
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 fetch the current day from the system and subsequently store it in the output variable.
Syntax:
Input: N/A
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Use case/example:
Scenario: Validating Meeting Notifications
Consider a scenario where a user is testing an application that sends out meeting notifications on specific days of the week. They 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
Expected output: It should fetch the current day from the system and send a notification based on day.
Output: The action when performed saves the current day in {result} output variable as Tuesday.