QuestionQ15

VerifiedTesting and Debugging

Assume the Verify Expression with Operator activity from the UiPath.Testing.Activities package has the following property configuration:

Question Image

The activity is used within a Try-Catch activity. The Catch block is set to System.Exception and UiPath.Testing.Exception.TestingActivitiesException, as shown below:

Question Image

During execution of the sequence shown above, which block of the Try-Catch activity is entered first after the Verify Expression with Operator activity executes?

Explanation

The equality check of 1 and 2 fails, but ContinueOnFailure is set to True. UiPath specifies that no error is caught when this activity is inside a Try Catch with that property enabled. Neither Catch sequence runs, and the Finally block executes after the Try block completes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!