Exam4Training

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 milliseconds.
B . An exception is thrown after 10 seconds.
C . The next activity is executed after 10 seconds.
D . The next activity is executed after 10 milliseconds.

Answer: B

Explanation:

The Click activity has a property called TimeoutMS. This property specifies the amount of time (in milliseconds) to wait for the activity to be executed before an error is thrown. In this case, the TimeoutMS property is set to 10000 milliseconds (10 seconds). Therefore, if the activity cannot find its target at runtime, an exception will be thrown after 10 seconds.

Exit mobile version