QuestionQ200

VerifiedTesting and Debugging

Review the following graphics:

Question Image

Question Image

Question Image

Question Image

If the automation runs while Notepad.exe is not running, which Log Message text value appears in the Output panel?

Explanation

The Use Application/Browser activity with Open set to Never does not start a missing application, so attempting to attach to Notepad produces an ApplicationNotFoundException. Since Exception is the first, general catch type and ApplicationNotFoundException derives from it, that first Catch handles the error and logs "Exception".

Learn more

Community Discussion

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