PL-500 · Question #185
You are developing a UI automation flow using Power Automate to interact with a Windows application. Using a text-based selection, you must capture a user interface element. When applying this…
The correct answer is B. To ensure dependable text-based selectors, make sure the UI element has a Name or Text. Text-based selectors in Power Automate for desktop identify UI elements by their textual properties-primarily the 'Name' attribute (exposed via Microsoft UI Automation) or visible 'Text' content. For a text-based selector to work reliably, the target element must expose a…
Question
You are developing a UI automation flow using Power Automate to interact with a Windows application. Using a text-based selection, you must capture a user interface element. When applying this method, what should you consider?
Options
- AFor Windows applications, text-based selectors are not suitable; use image recognition for better
- BTo ensure dependable text-based selectors, make sure the UI element has a Name or Text
- CText-based selectors don't need to be configured further; they are created automatically during
- DUse desktop UI components for Windows programs; text-based selectors are advised solely for
How the community answered
(23 responses)- A9% (2)
- B87% (20)
- D4% (1)
Explanation
Text-based selectors in Power Automate for desktop identify UI elements by their textual properties-primarily the 'Name' attribute (exposed via Microsoft UI Automation) or visible 'Text' content. For a text-based selector to work reliably, the target element must expose a stable, consistent Name or Text attribute. If the element lacks these attributes or they change dynamically, the selector will fail to locate the element. This is the key consideration when choosing text-based selection. Option A is incorrect-text-based selectors work well with Windows applications that support UI Automation accessibility. Option C is incorrect-selectors often require manual adjustment after capture to ensure uniqueness and stability. Option D is incorrect-text-based selectors are applicable to both desktop and web UI elements, not exclusively to web.
Topics
Community Discussion
No community discussion yet for this question.