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 1 Question 14 Discussion

Actual exam question for UiPath's UiPath-ADPv1 exam
Question #: 14
Topic #: 1
[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
Keva
3 months ago
SelectorNotFoundException could also be a possibility, but I lean towards B.
upvoted 0 times
...
Charlie
3 months ago
Just to clarify, Notepad.exe has to be completely closed, right?
upvoted 0 times
...
Antonio
3 months ago
Wait, are we sure about that? Seems a bit off.
upvoted 0 times
...
Aretha
4 months ago
I totally agree, that's the right one!
upvoted 0 times
...
Heike
4 months ago
Looks like it would be ApplicationNotFoundException.
upvoted 0 times
...
Dustin
4 months ago
I’m leaning towards A, Exception, but I remember that ApplicationNotFoundException is more specific. I hope I’m not overthinking this!
upvoted 0 times
...
Tracie
4 months ago
I’m really uncertain about this one. I thought we discussed exceptions in detail, but I can't recall if Notepad.exe not running would trigger a specific log message.
upvoted 0 times
...
Fabiola
4 months ago
I remember a similar question where we had to identify log messages. I feel like D, SelectorNotFoundException, could also be a possibility, but it doesn't seem quite right here.
upvoted 0 times
...
Adelina
5 months ago
I think the answer might be B, ApplicationNotFoundException, but I'm not entirely sure. It feels like something we covered in class.
upvoted 0 times
...
Yvette
5 months ago
This seems straightforward. Based on the workflow, if Notepad.exe is not running, the application will not be found, so the correct answer is B. ApplicationNotFoundException.
upvoted 0 times
...
Theron
5 months ago
I'm a bit confused by the question. The diagrams don't seem to directly answer the question about the Log Message text. I'll need to think this through step-by-step.
upvoted 0 times
...
Christiane
5 months ago
Okay, I think I've got this. The key is to identify the exception that would be thrown if Notepad.exe is not running. Let me double-check the options.
upvoted 0 times
...
Ruth
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the workflow diagrams to understand the logic and identify the expected output.
upvoted 0 times
...
Dierdre
5 months ago
Hmm, I'm not sure about this one. OneDrive is a cloud storage service, not a social network. I'll have to think carefully about the correct answer.
upvoted 0 times
...
Cory
5 months ago
This seems like a tricky one. I'm not sure if I should go for the incentive system or try to identify time conflicts first. Hmm, I'll have to think this through carefully.
upvoted 0 times
...
Roy
5 months ago
Hmm, I'm a bit confused on this one. I'll have to think it through carefully.
upvoted 0 times
...
Tyra
2 years ago
Makes sense to me too. Definitely not D because SelectorNotFound is different.
upvoted 0 times
...
Lucille
2 years ago
Since Notepad.exe isn't running, it makes sense we'd get an ApplicationNotFoundException.
upvoted 0 times
...
Huey
2 years ago
Interesting. Why do you believe it's B?
upvoted 0 times
...
Lucille
2 years ago
I think the right answer is B) ApplicationNotFoundException.
upvoted 0 times
...
Tyra
2 years ago
Yeah, it's a bit tricky with those graphics. What's your take?
upvoted 0 times
...
Lucille
2 years ago
Hey, have you seen the question about the Notepad.exe automation?
upvoted 0 times
...
Adela
2 years ago
Yes, the automation would likely throw that exception if Notepad.exe is not running.
upvoted 0 times
...
Krissy
2 years ago
I agree, it seems like the correct option.
upvoted 0 times
...
Ryan
2 years ago
I think it's B) ApplicationNotFoundException.
upvoted 0 times
...

Save Cancel