What happens if the activity cannot find its target at runtime?

A developer configured the properties for a Click activity as shown below:

What happens if the activity cannot find its target at runtime?
A . An exception is thrown after 10 seconds.
B . The next activity is executed after 10 seconds.
C . The next activity is executed after 10 milliseconds.
D . An exception is thrown after 10 milliseconds.

Answer: A

Explanation:

If the activity cannot find its target at runtime, an exception is thrown after 10 seconds. This is because the “ContinueOnError” property is set to “False” and the “DelayAfter” property is set to “10” seconds. The “ContinueOnError” property determines whether the automation should continue even when the activity fails, and the “DelayAfter” property specifies the amount of time (in milliseconds) to wait before moving to the next activity. (UiPath Automation Developer study guide)

References:

Click

Common Properties

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments