New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath-ADPv1 Exam - Topic 4 Question 34 Discussion

Actual exam question for UiPath's UiPath-ADPv1 exam
Question #: 34
Topic #: 4
[All UiPath-ADPv1 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

The graphics show a UiPath workflow that contains a Try Catch activity with a Type Into activity inside the Try block and a Log Message activity inside the Catch block. The Type Into activity is configured to type ''Typing into Notepad'' into a Notepad window with the selector ''<wnd app='notepad.exe' cls='Notepad' title='Untitled - Notepad' />''. The Log Message activity is configured to log the exception message in the Output panel.

If the automation is executed and Notepad.exe is not running, the Type Into activity will fail to find the target UI element and throw an exception. The exception will be caught by the Catch block and the Log Message activity will log the exception message in the Output panel. The exception message will contain the name of the exception type, which is ApplicationNotFoundException. This exception is thrown when the application that is specified in the selector is not found or not running. Therefore, the Log Message text value that is contained in the Output panel is ApplicationNotFoundException.

The other options are not correct, as they are not the exception type that is thrown by the Type Into activity when the application is not running. Option A is incorrect, because Exception is a generic term for any error or problem that occurs during the execution of a program, not a specific exception type. Option C is incorrect, because Try is not an exception type, but a keyword that marks the beginning of a block of code that may throw an exception. Option D is incorrect, because SelectorNotFoundException is not an exception type, but a possible error message that is displayed when the selector is invalid or does not match any UI element.


Contribute your Thoughts:

0/2000 characters
Gary
3 months ago
I agree with Casie, B makes the most sense here.
upvoted 0 times
...
Phil
3 months ago
Wait, are you sure? I thought it might be C, just a try message.
upvoted 0 times
...
Ligia
3 months ago
No way, it has to be B! Notepad isn't running, so...
upvoted 0 times
...
Chery
4 months ago
I think it could be A, just a general exception.
upvoted 0 times
...
Casie
4 months ago
Definitely B, ApplicationNotFoundException is the right one.
upvoted 0 times
...
Roslyn
4 months ago
I practiced a question like this, and I think it was about handling exceptions when an application isn't running. Maybe it's A?
upvoted 0 times
...
Joaquin
4 months ago
I'm leaning towards D, SelectorNotFoundException, but I can't recall the exact context for this scenario.
upvoted 0 times
...
Carissa
4 months ago
I remember a similar question where we had to identify exceptions, and I feel like this one is tricky.
upvoted 0 times
...
Herschel
5 months ago
I think the answer might be B, ApplicationNotFoundException, but I'm not completely sure.
upvoted 0 times
...
Jess
5 months ago
Okay, I've got a strategy. I'll walk through the workflow mentally, considering what might happen if the target application is not running. That should help me identify the correct log message.
upvoted 0 times
...
Flo
5 months ago
I'm a little confused by the different options. I'll need to re-read the question and examine the images more closely to make sure I understand the expected behavior in this scenario.
upvoted 0 times
...
Edelmira
5 months ago
Ah, I think I've got this. Based on the workflow, if Notepad.exe is not running, the application will throw an exception, so the correct answer should be "Exception".
upvoted 0 times
...
Kristel
5 months ago
Hmm, I'm a bit unsure about this one. The images show some workflow components, but I'm not sure how they all fit together. I'll need to think through the logic step-by-step.
upvoted 0 times
...
Mari
5 months ago
This looks like a pretty straightforward question. I'll carefully review the images and workflow to determine the expected output when Notepad.exe is not running.
upvoted 0 times
...
Stephanie
1 year ago
Haha, Notepad.exe, the dinosaur of text editors. If this question is any indication, I'm glad I'm not taking this exam. B) is the correct answer, but I'd rather be automating something more exciting than opening Notepad.
upvoted 0 times
Isabella
1 year ago
What other software would you rather automate?
upvoted 0 times
...
Vicente
1 year ago
What kind of automation would you prefer to be working on?
upvoted 0 times
...
...
Vincent
1 year ago
Hmm, I see your point. Both options make sense based on the graphics.
upvoted 0 times
...
Talia
1 year ago
B) ApplicationNotFoundException, easy peasy. I could've answered this in my sleep. Wait, do they ever have Notepad.exe questions on this exam? I hope not, I hate that program. It's like using a stone tablet to write code.
upvoted 0 times
...
Toshia
1 year ago
Dude, you're way off. Did you even look at the images? It's clearly B) ApplicationNotFoundException. How can you get that wrong?
upvoted 0 times
...
Avery
1 year ago
I'm going with D) SelectorNotFoundException. If the automation can't find the Notepad window, it'll throw a SelectorNotFoundException, right? That's what the images suggest to me.
upvoted 0 times
Graciela
1 year ago
I agree, SelectorNotFoundException makes sense based on the images provided.
upvoted 0 times
...
Maricela
1 year ago
I think you're right. The images do seem to point to SelectorNotFoundException as the correct answer.
upvoted 0 times
...
...
Antonio
1 year ago
I agree, B is the right answer. The automation is looking for Notepad.exe, and if it's not running, it will throw an ApplicationNotFoundException. Simple enough.
upvoted 0 times
Carmelina
1 year ago
Yeah, B sounds like the correct choice here.
upvoted 0 times
...
Mitzie
1 year ago
I think it's B too. Makes sense.
upvoted 0 times
...
Chuck
1 year ago
B) ApplicationNotFoundException
upvoted 0 times
...
...
Raymon
1 year ago
I believe it could also be D) SelectorNotFoundException.
upvoted 0 times
...
Carolann
1 year ago
The correct answer is B) ApplicationNotFoundException. The images show that the automation is trying to interact with Notepad.exe, but if it's not running, the application would not be found, resulting in an ApplicationNotFoundException.
upvoted 0 times
Nieves
1 year ago
C) Try
upvoted 0 times
...
Maxima
1 year ago
B) ApplicationNotFoundException
upvoted 0 times
...
Yvette
1 year ago
A) Exception
upvoted 0 times
...
...
Vincent
1 year ago
I think the answer is B) ApplicationNotFoundException.
upvoted 0 times
...

Save Cancel