QuestionQ51

Verified

A test case runs and throws an exception.

Which strategy is recommended to fail the test case and capture a screenshot of the application's current state?

Explanation

A Catch block handles the exception. A Verify Expression activity with Expression set to False produces a failed verification, while TakeScreenshotIfFailed set to True captures the target application's state. (docs.uipath.com)

Learn more

Community Discussion

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