If the automation is executed and Notepad.exe is not running, which Log Message text value is contained in the Output panel?

Review the following graphics:

If the automation is executed and Notepad.exe is not running, which Log Message text value is contained in the Output panel?
A . Exception
B . ApplicationNotFoundException
C . Try
D . SelectorNotFoundException

Answer: D

Explanation:

Based on the image you sent, the automation process consists of four steps: opening Notepad.exe, typing some text, saving the file, and closing Notepad.exe. Each step has a Log Message activity that writes a text value to the Output panel. If Notepad.exe is not running, the first step will fail and throw an exception. The exception type is SelectorNotFoundException, because the Open Application activity cannot find the selector for Notepad.exe1. Therefore, the Log Message text value that is contained in the Output panel is “SelectorNotFoundException”, which is option D).

Reference: Open Application documentation.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments