Forum Discussion

IRISQATeam's avatar
IRISQATeam
Contributor
6 years ago
Solved

How to find time difference from action to another?

Hi, I need to measure the time difference from one action to another. For example, whenever I click the Login button, it loads the login page. I need to find the time difference, how long it took to...
  • tristaanogre's avatar
    6 years ago

    When doing a Keyword test, there is a Performance group of actions that allows you to start a timer and then get the value of that timer at a particular point.  This is one way to do what you want.

     

    For script code, there's the HISUtils.StopWatch object that you can utilize to start a timer and then log/check elapsed time.