UiPath Certification UiPath Selectors and UI Automation 2 — Questions and Answers
Question 1: What is a 'Full Selector' in UiPath?
- A selector that includes all UI hierarchy from the top-level window down to the target element (Correct answer)
- A selector that matches all elements on a page
- A selector with all optional attributes filled in
- A selector that works across all operating systems
Correct answer: A selector that includes all UI hierarchy from the top-level window down to the target element
A Full Selector contains the complete hierarchy from the root window element down to the target element, making it self-contained and usable outside of an Open Application container.
Question 2: What is a 'Partial Selector' in UiPath?
- A selector missing required attributes
- A selector that identifies an element relative to a container (like Open Browser), without repeating the window node (Correct answer)
- A selector that only works on partial screen matches
- A selector used for partial text matching
Correct answer: A selector that identifies an element relative to a container (like Open Browser), without repeating the window node
A Partial Selector omits the top-level window node because it relies on a container activity (such as Open Browser or Attach Window) to provide that context.
Question 3: Which activity in UiPath is best suited for automating web applications within a browser?
- Open Application
- Use Application/Browser (Correct answer)
- Launch Browser
- Navigate To
Correct answer: Use Application/Browser
The 'Use Application/Browser' activity (formerly Open Browser/Attach Browser) is the recommended activity for scoping web automation within a browser session.
Question 4: What does the 'WildCard' character '*' do in a UiPath selector attribute value?
- Matches exactly one character
- Matches any sequence of characters including an empty string (Correct answer)
- Marks the attribute as required
- Excludes all elements with that attribute
Correct answer: Matches any sequence of characters including an empty string
The wildcard '*' matches any sequence of characters (including none), useful for handling dynamic parts of attribute values like changing window titles.
Question 5: In UiPath, what is the recommended approach to handle a table where row selectors contain a dynamic row index?
- Use a For Each Row activity and hardcode the index
- Replace the dynamic index in the selector with a variable and loop through rows (Correct answer)
- Use OCR to read each row
- Use the Data Scraping wizard and ignore selectors
Correct answer: Replace the dynamic index in the selector with a variable and loop through rows
Replacing the dynamic row index attribute with a variable and iterating through rows programmatically is the standard approach for table row automation.
Question 6: What is the purpose of the 'Highlight' activity in UiPath?
- To mark important log messages in Orchestrator
- To visually highlight a UI element on screen for debugging or demonstration purposes (Correct answer)
- To extract text and highlight it in a variable
- To highlight rows in an Excel file
Correct answer: To visually highlight a UI element on screen for debugging or demonstration purposes
The Highlight activity draws a colored border around a specified UI element, useful for visually confirming element detection during debugging or demos.
Question 7: Which UiPath Studio panel allows you to view and manage all UI descriptors (selectors) used in a project?
- Output Panel
- Project Panel
- UI Explorer
- Object Repository (Correct answer)
Correct answer: Object Repository
The Object Repository in UiPath Studio centralizes and manages all UI descriptors, enabling reuse and easier maintenance across multiple workflows.
What is a 'Full Selector' in UiPath?