How UiPath can be used for performance testing

Hi @santhoshsaravanan91
The “Execution Time” activity is not a built-in activity in UiPath.

However, you can use the “System.DateTime.Now” property to measure the time taken for each step in a workflow.

To use the “System.DateTime.Now” property to measure execution time:

  1. Drag a “Assign” activity onto the designer panel.
  2. In the “Value” field, enter “System.DateTime.Now”. This will store the current time as a variable.
  3. Set the “To” field to a variable that will hold the start time.
  4. Add the steps that you want to measure the execution time for after the “Assign” activity.
  5. Drag another “Assign” activity onto the designer panel and set the “Value” field to “System.DateTime.Now”.
  6. Set the “To” field to a variable that will hold the end time.
  7. Use a formula such as “EndTime - StartTime” to calculate the elapsed time.
  8. Use the “Write Line” activity to output the elapsed time to the UiPath output panel or to a log file.