UiPath-ADPv1 Advanced UI Automation Practice Question
You are automating a desktop application that opens multiple child windows with identical titles. You must interact with the third window in the order it was opened. Which UiPath approach is most reliable for selecting that specific window instance?
⚠ Common exam trap
The trap here is assuming that window ordering or an index can be used to disambiguate same-titled windows, when selectors require a stable distinguishing attribute.
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
✓
Use the 'Window' activities with a selector that includes a stable attribute unique to the third window, such as a distinct title suffix or a child element that only that instance contains.
When multiple windows share a title, title-only selectors are ambiguous and may attach to the wrong instance. The reliable method is to include an attribute unique to the target window, such as a title suffix or a child element present only in that instance. This makes the selector unambiguous and keeps subsequent UI activities pointed at the intended window.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the 'Use Application/Browser' activity with the window title as the selector and enable 'Open in new window'.
Why it's wrong here
Matching only by window title will attach to the first matching window, not necessarily the third opened instance. Enabling 'Open in new window' controls how the activity launches a target, not how it disambiguates among existing same-titled windows. This approach does not guarantee selection of the intended instance and can attach to the wrong window.
- ✓
Use the 'Window' activities with a selector that includes a stable attribute unique to the third window, such as a distinct title suffix or a child element that only that instance contains.
Why this is correct
Selecting a specific instance among same-titled windows requires a distinguishing attribute. If the third window has a unique title suffix, a distinctive child element, or another stable property, including it in the selector ensures the correct instance is targeted. This avoids ambiguity and remains reliable as long as the distinguishing attribute persists across runs.
- ✗
Use the 'Get Process' activity to retrieve the process, then index into its MainWindowHandle collection to pick the third window.
Why it's wrong here
Get Process returns a single process object with one MainWindowHandle, not a collection of window handles. Even when a process owns multiple top-level windows, the activity does not expose them as an indexable collection. This approach therefore cannot select the third window instance and will not reliably target the intended child window.
- ✗
Use the 'Find Window' activity with a selector that includes the window's process id and its instance index, then pass the result to subsequent UI activities.
Why it's wrong here
Find Window can locate windows by selector attributes such as title, class, and process id, but it does not support an instance index among same-titled windows. The result is still ambiguous when multiple windows share the same title and process. Without a distinguishing attribute, this approach cannot guarantee the third-opened window is selected.
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.