Is there any inbuilt activity for Capture Time for each step

Hi @divya.17290,

There are no inbuilt timer methods for each activity you use in UiPath.

However, a new set of activities were announced this week and will be available in the 2022.08 update of Community edition. Release notes here : UiPath Community 2022.8 Preview Release

The new timer activities can be one of the alternatives you can use to time your activities.

Here is a sample TestCase workflow, you can use this on any UiPath workflow does not need to be a test case.
As per the release, the Timer activities are part of the Testing.Activities. This is not true, the timer activities are under System.Activities, so any new project you create will have these timer activities included provided that the System.Activities version is 22.08 preview or over.

The only disadvantage of this approach is that you need to define multiple Timer objects if you want to check execution times of multiple activities in your workflow.

Here is the sample project zip :
TestTimerActivities.zip (128.8 KB)

Some additional input:
Also the TimeoutScope is a great activity to avoid activities like Invoke PowerShell to stop its execution when the Timeout value is reached.
image

Hope this helps you and others.

1 Like