UiPath-ADPv1 Advanced UI Automation Practice Question
When automating a legacy Java application, the standard UI Automation activities fail to detect internal table elements. What is the most appropriate configuration to enable element recognition?
⚠ Common exam trap
Candidates frequently attempt to fix missing legacy element recognition by modifying selectors within Studio, overlooking the mandatory requirement to enable external application extensions.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable the Java extension via the 'Tools' menu in UiPath Studio and restart the application.
Java applications often require specific extensions and settings to expose their internal UI tree to the UiPath automation engine. By enabling the Java extension and configuring the 'UIAutomationCore' correctly, you bridge the gap between the application's native components and the studio. This is a fundamental skill for developers working in enterprise environments where legacy software lacks standard web or desktop accessibility hooks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable the Java extension via the 'Tools' menu in UiPath Studio and restart the application.
Why this is correct
The Java extension is mandatory for UiPath to inject the necessary hooks into the Java Runtime Environment. Without this installation, the automation engine cannot traverse the Java UI hierarchy, rendering elements invisible to the recorder and the selector editor. This is the primary prerequisite for Java automation.
- ✗
Use the 'OCR' engine exclusively to read the screen and interpret the Java table data.
Why it's wrong here
OCR is computationally expensive and prone to character recognition errors. It should only be used as a last resort when object-based automation is impossible. For a Java application, installing the proper extension is the correct architectural choice to ensure accuracy and speed in data extraction.
- ✗
Modify the application's source code to add automation IDs to every table cell.
Why it's wrong here
While modifying source code is ideal, it is rarely feasible for legacy applications. Developers must work with the existing infrastructure. UiPath provides extensions precisely to avoid the need for custom application modifications, making this an impractical solution for standard development workflows in most business contexts.
- ✗
Set the 'CursorMotionType' property to 'Smooth' in the Project Settings.
Why it's wrong here
Cursor motion settings dictate how the mouse moves on the screen, not how the automation engine identifies objects within an application's internal structure. This property has zero impact on the detection of elements in Java or other non-standard desktop environments, and it will not solve visibility.
About these practice questions
Courseiva writes every UiPath-ADPv1 question from scratch — 276 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official UiPath exam blueprint
This UiPath-ADPv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADPv1 exam.