Skip to main content
Question

I am working on website which has session timeout after 10 mins. From the website I am able to capture the time at which it logged in (Eg 06:16). This time is stored in string variable. I want to compare this time with the system time. How can I do

  • October 31, 2022
  • 1 reply
  • 55 views

I am working on website which has session timeout after 10 mins. From the website I am able to capture the time at which it logged in (Eg 06:16). This time is stored in string variable. I want to compare this time with the system time. How can I do it?

1 reply

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • October 31, 2022

Hi @Sushant Sawant​ ,

 

You have captured the time1 from the website and time2 for system time, so now you have both values.

You can use the DateTime to manipulate the time values

 

Datetime package - Automation Anywhere Documentation