How to get Elapse time on each Gherkin step

Good Day,

Currently I have gherkin scenario and when I running it I can see the “Elapsed time” on each step in Log viewer

And I also checked in KatalonTestOps that this is not displayed on each step

and testOps only provide this, so meaning I need to calculate total elapse time manually

Is there a way I can get the total elapse time on each gherkin step without calculating it manually?

Thanks !

You can calculate a period between 2 time values as the following article describes:

LocalDate startDate = LocalDate.of(2015, 2, 20);
LocalDate endDate = LocalDate.of(2017, 1, 15);

Period period = Period.between(startDate, endDate);

I don’t know the TestOps API.