RPA (UI Path) 2 — Questions and Answers
Question 1: Which UiPath activity is used to iterate over each item in a collection such as a List or Array?
- For Each (Correct answer)
- While
- Do While
- Parallel For Each
Correct answer: For Each
The For Each activity loops over every element in a collection, executing the body activities once per item.
Question 2: In UiPath, what does the 'Anchor Base' activity help with?
- Finding UI elements by their position relative to a nearby anchor element (Correct answer)
- Storing robot credentials securely
- Managing exception handling in workflows
- Scheduling automated jobs in Orchestrator
Correct answer: Finding UI elements by their position relative to a nearby anchor element
Anchor Base uses a nearby stable UI element as a reference point to reliably locate a target element that may lack unique selectors.
Question 3: What is the purpose of the UiPath 'Invoke Workflow File' activity?
- To call and execute another XAML workflow from within the current workflow (Correct answer)
- To import external DLL libraries
- To open a web browser and navigate to a URL
- To send HTTP requests to a REST API
Correct answer: To call and execute another XAML workflow from within the current workflow
Invoke Workflow File allows modular design by calling a separate XAML file, passing arguments in and out.
Question 4: Which UiPath feature allows a robot to identify UI elements even when their properties change dynamically at runtime?
- Fuzzy Selector
- Dynamic Selector (Correct answer)
- Partial Selector
- Full Selector
Correct answer: Dynamic Selector
Dynamic Selectors use variables inside selector attributes, allowing the robot to adapt to elements whose properties change at runtime.
Question 5: In UiPath Orchestrator, what is the role of 'Assets'?
- Centralized storage for credentials, text, integers, or Boolean values shared across robots (Correct answer)
- Visual process diagrams for documentation
- Encrypted log files from robot runs
- Templates for new project creation
Correct answer: Centralized storage for credentials, text, integers, or Boolean values shared across robots
Assets in Orchestrator store reusable values (credentials, connection strings, flags) that robots retrieve at runtime.
Question 6: What does the 'Screen Scraping' wizard in UiPath Studio primarily help with?
- Extracting text content from legacy or non-standard applications (Correct answer)
- Recording mouse clicks on a web page
- Connecting to a database and running SQL queries
- Generating PDF reports from Excel data
Correct answer: Extracting text content from legacy or non-standard applications
The Screen Scraping wizard helps extract text from applications where standard data scraping methods fail, offering FullText, Native, and OCR options.
Question 7: Which exception type in UiPath represents an error caused by a UI element not being found on screen?
- SelectorNotFoundException (Correct answer)
- ActivityTimeoutException
- BusinessRuleException
- InvalidOperationException
Correct answer: SelectorNotFoundException
SelectorNotFoundException is thrown when UiPath cannot locate a UI element matching the specified selector within the given timeout.
Which UiPath activity is used to iterate over each item in a collection such as a List or Array?