Get Current Time
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 fetch the current time from the system and store the result in the output variable.
Syntax:
Input: < format of time>
Supported Formats: HH:mm:ss
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Use case/example:
Scenario: User Activity Logging
Consider a scenario where a user is testing a web application that logs user activities (e.g. login, logout) along with the current time. They 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. They 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
Expected Result: It should verify the login time of users and check if the verified login time matches with the actual time.
Output: The action performed and saves the current Time in the {result}output variable as 05:30:32.
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.
Expected Result: It should verify the login time of users and check if the verified login time matches with the actual time.
Output: The action performed and saves the current Time in the {result}output variable as 05:30:32.