Courseiva

UiPath-ADAv1 · domain

Debugging and Exception Handling

This domain covers how UiPath Studio workflows handle runtime faults and how developers debug them. Questions test the Try-Catch-Finally activity structure, the Rethrow and Throw activities, exception propagation to parent scopes, and debugging tools such as breakpoints, the Locals panel, and the Immediate panel. Expect scenario-based items on choosing the right handler.

19 questions4 easy8 medium7 hard

Focused practice

Practice Debugging and Exception Handling questions

Scored sessions drawing only from this domain — pick a length below.

What this domain covers

What to know about Debugging and Exception Handling

Be able to build a Try-Catch-Finally sequence, choose between Throw and Rethrow, and use breakpoints and the Locals panel to inspect variables at runtime. The most important thing: know that Finally always executes, and Rethrow preserves the original exception.

The purpose of the Finally block in Try-Catch and when it executes relative to Catch.

Using the Rethrow activity to propagate the original exception to the parent scope.

Using the Throw activity to raise a new exception with a custom message.

Debugging with breakpoints, Step Into, Step Over, and the Locals and Immediate panels.

Watch out for

Common Debugging and Exception Handling exam traps

  • ▸Assuming Finally runs only when an exception occurs; it runs regardless of whether the Try block succeeded or failed.
  • ▸Using Throw instead of Rethrow inside a Catch, which loses the original stack trace and error details.
  • ▸Expecting a caught exception to stop the workflow; the Catch block handles it and execution continues unless rethrown.

Question index

All Debugging and Exception Handling questions (19)

Click any question to see the full explanation, or start a practice session above.

1

Which activity is used to explicitly stop the execution of a workflow and propagate a fault to the parent scope?

Medium
2

What happens if a 'Throw' activity is executed within a 'Try' block that has no corresponding 'Catch' block?

Medium
3

A developer is implementing a Global Exception Handler. Which TWO of the following statements regarding the behavior of the handler are correct?

Hard
4

Which panel in UiPath Studio allows a developer to monitor variable values and evaluate expressions in real-time while the process is paused at a breakpoint?

Easy
5

A developer is debugging a workflow that intermittently throws a 'UiPath.Core.ElementNotFoundException' when clicking a button. The developer wants to inspect the state of the application and the variable values at the exact moment the exception occurs, without modifying the workflow logic permanently. Which approach best allows this?

Hard
6

Refer to the exhibit. What is the most likely cause of this exception when iterating through a list?

Hard
7

A developer is building an unattended process that reads a queue of invoice items. For each transaction, the process must attempt to extract data from a PDF. If extraction fails, the item should be retried up to two more times, and after all retries are exhausted, the item should be marked as failed without stopping the entire job. The developer places the extraction logic inside a Try Catch block within a Retry Scope activity. Which configuration correctly ensures that each failed attempt is retried and that the final failure is handled gracefully?

Medium
8

A developer is implementing exception handling for a robotic process automation project that interacts with multiple applications. The developer wants to ensure that system exceptions are retried a limited number of times, while business exceptions are logged and the transaction is marked as failed. Which two activities or features should the developer use to achieve this? (Choose two.)

Medium
9

Which TWO of the following are best practices for effective exception handling in UiPath?

Medium
10

A developer is configuring a Global Exception Handler in UiPath Studio. The handler uses a Try Catch activity and needs to decide whether to retry the failed transaction or terminate the process. Which TWO of the following statements about the Global Exception Handler are correct? (Choose two.)

Hard
11

Which property in the 'Message Box' activity allows a developer to pause the execution until the user clicks a button?

Easy
12

When dealing with 'SelectorNotFoundException', which THREE actions should a developer consider to increase the robustness of the automation?

Hard
13

In the context of the Try-Catch activity, what is the purpose of the 'Finally' block?

Easy
14

An unattended UiPath robot processes invoices by reading each PDF from a shared network folder, extracting the PO number, and posting it to an internal web application. Extraction works for most files, but a small subset of scanned PDFs fail OCR and throw a business-rule exception that should be logged and skipped without stopping the run. A separate class of failures — the internal web application returning HTTP 500 — must retry a few times before the item is abandoned. The developer wants a single structured design that distinguishes these two failure categories inside the per-invoice loop. Which approach should the developer implement?

Hard
15

When debugging a process that involves a remote desktop (Citrix/RDP), which tool is best suited to verify that the robot can interact with elements correctly?

Medium
16

A developer is creating a workflow that must perform a cleanup action (such as closing an application) regardless of whether an exception occurs during the main processing. Which activity should the developer use to ensure the cleanup code always runs?

Easy
17

A developer is debugging a workflow that intermittently fails when interacting with a legacy application. The developer wants to capture the state of all variables and the call stack at the moment the exception occurs, without stopping the debugging session. Which feature in UiPath Studio should the developer use?

Hard
18

An automation developer is building a UiPath process that uses a Try Catch activity. Inside the Try block, a sequence of activities interacts with a desktop application. The developer wants to capture a screenshot of the screen only when an exception occurs, and also ensure that a specific cleanup activity runs regardless of whether an exception was thrown. Which configuration correctly achieves these requirements?

Medium
19

A developer is debugging a UiPath workflow and wants to log the exact error message and stack trace of an exception caught in a Catch block. Which expression should be used to retrieve this information from the exception object?

Medium

Frequently asked questions

What does the Debugging and Exception Handling domain cover on the UiPath-ADAv1 exam?
Be able to build a Try-Catch-Finally sequence, choose between Throw and Rethrow, and use breakpoints and the Locals panel to inspect variables at runtime. The most important thing: know that Finally always executes, and Rethrow preserves the original exception.
How many questions are in this domain?
This page lists all 19 Debugging and Exception Handling questions in the UiPath-ADAv1 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Debugging and Exception Handling questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
uipath-adav1 UIPATH-ADAV1 debugging and exception handling Practice Questions