Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath Exam UiPath-ADPv1 Topic 4 Question 37 Discussion

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

Which of the following is a tag in a selector?

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:

Dyan
2 days ago
C) is just a nonsensical mess. Not a valid tag at all.
upvoted 0 times
...
Rossana
5 days ago
B) aaname='FirstName' looks like a made-up tag. That's not how you use HTML attributes.
upvoted 0 times
...
Belen
6 days ago
The correct answer is A) id='selMonth'. That's a valid HTML tag in a selector.
upvoted 0 times
...
Amos
20 days ago
I see your point, but I still think A) id='selMonth' is more commonly used.
upvoted 0 times
...
Effie
22 days ago
I disagree, I believe B) aaname='FirstName' is the correct tag.
upvoted 0 times
...
Amos
25 days ago
I think A) id='selMonth' is a tag in a selector.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77