QuestionQ3

VerifiedDebugging

A test case runs and throws an exception. Which recommended strategy fails the test case while taking a screenshot of the application's current state?

Explanation

A Catch block handles the thrown exception. A Verify Expression configured with Expression: False produces a failed verification, and TakeScreenshotIfFailed: True captures a screenshot of the target process when that verification fails. UiPath documents TakeScreenshotIfFailed for this purpose in its Verify Expression activity documentation.

Learn more

Community Discussion

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