Is there a stopwatch or timer activity in UIPath?

Here I have activity that will keep on navigating using page town to look for an image and would stop if the image is found but what if no image is found then it wont stop right ?

So my idea is to use a timer for example for 30 seconds if the image still not found I will set count to 1 to end the loop. Any idea ? Thank you

Ideas would be muchly appreciated.

Hi @Jelrey ,

The following scenario can be met with element exist. Else you will need to put a loop counter with static delay to allow for the same scenario. Hope this help!!!


what do you mean ? can you be more specific ? thanks

Pardon me, for being wrong earlier…

  1. Use Parallel activity
  2. You can put the whole thing in parallel activity keeping the the activity mentioned by you on one loop of parallel
  3. Delay timer with 30 seconds in one loop.
  4. Once the delay time is reached activity a boolean True and that will deactivate the parallel activity
  5. If the check image is true, that means you have found the image else it fail to find the image

Hope this helps :slight_smile: :beers:

Do you have some example @Shubham_Varshney ? if you don’t mind ? Thanks

Please find the XAML.

Hope this clarifies :slight_smile:

Sequence.xaml (6.2 KB)


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.