UiPath-ADPv1 Advanced UI Automation Practice Question
Which TWO of the following scenarios are best addressed by using the 'Anchor Base' activity?
⚠ Common exam trap
Candidates often assume Anchor Base is only for dynamic selectors, missing that it is also the primary solution for elements that lack any unique, stable ID attributes entirely.
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
✓
The target element's selector is dynamic and changes on every refresh.
The 'Anchor Base' activity is essential when an element's selector is either highly dynamic or non-existent, but it maintains a consistent spatial relationship with a static label or icon. This is a common requirement in legacy desktop applications or complex web forms. Mastering anchor-based identification allows developers to create resilient automation that doesn't rely solely on fragile ID attributes, ensuring reliability when the application structure changes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The target element has a unique, static ID.
Why it's wrong here
If an element has a unique and static ID, you should use that ID directly in the selector. Using an anchor adds unnecessary complexity and overhead to the automation, as direct identification is always more precise and performant than relative spatial searching based on other UI elements.
- ✓
The target element's selector is dynamic and changes on every refresh.
Why this is correct
When an element's properties are volatile, anchoring it to a neighboring element with a static label is a standard and robust strategy. This allows the robot to find the target by its relative position rather than its internal attributes, which is perfect for handling dynamic UI layouts.
- ✗
The target element is inside an iframe that periodically changes.
Why it's wrong here
If an element is within an iframe, the primary solution is to manage the frame context properly within the selector. Anchor base is not designed to handle the complexities of iframe navigation or cross-origin security constraints, making it an ineffective tool for this specific technical requirement.
- ✓
The target element has no stable selector but is adjacent to a static label.
Why this is correct
When no unique selector exists, the best approach is to define a static anchor nearby. By identifying the static text, the robot can accurately locate the input field relative to that anchor, providing a reliable way to interact with elements in applications that lack proper accessibility attributes.
- ✗
The target element is an image that never changes.
Why it's wrong here
For a static image element, a simple image-based selector or a standard UI selector is sufficient. Using Anchor Base for an already static element is overkill and adds unnecessary processing time, as it requires the robot to locate both the anchor and the target instead of just one.
About these practice questions
One of 276 original UiPath-ADPv1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.