Get Current Time
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 time from the system and store the result in the output variable.
Input: < format of time>
Supported Formats: HH:mm:ss
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Consider a scenario where you are testing a web application that logs user activities (e.g. login, logout) along with the current time. You need to ensure that the web application correctly logs user activities (such as login and logout events) with time that accurately matches the actual current time. You can validate the reliability and accuracy of the logging functionality.
Select the current time to a specific time.
Perform a user action (e.g. login).
Check the logged time.
It should verify the login time of users and check if the verified login time matches with the actual time.
The action performed and saves the current Time in the {result}output variable as 05:30:32.