nerdexam
Microsoft

PL-500 · Question #48

You are designing a user interface automation that uses a Power Automate for desktop flow. The solution must allow you to use wildcard characters including question marks and asterisks to define a…

The correct answer is A. By title and/or class. The 'By title and/or class' window mode in Power Automate for desktop supports wildcard characters including the asterisk (*) to match any sequence of characters and the question mark (?) to match any single character in a window title. This is useful when window titles change…

Design automations

Question

You are designing a user interface automation that uses a Power Automate for desktop flow. The solution must allow you to use wildcard characters including question marks and asterisks to define a window on a desktop. You need to select the window mode for the automation. Which window mode should you use?

Options

  • ABy title and/or class
  • BBy variable
  • CBy window instance/handle
  • DBy window UI element

How the community answered

(28 responses)
  • A
    89% (25)
  • C
    7% (2)
  • D
    4% (1)

Explanation

The 'By title and/or class' window mode in Power Automate for desktop supports wildcard characters including the asterisk (*) to match any sequence of characters and the question mark (?) to match any single character in a window title. This is useful when window titles change dynamically (e.g., include file names or version numbers). 'By variable' uses a stored window object, 'By window instance/handle' uses a numeric handle, and 'By window UI element' targets a specific UI element - none of these support wildcard pattern matching.

Topics

#Power Automate for desktop#UI automation#Window selectors#Wildcards

Community Discussion

No community discussion yet for this question.

Full PL-500 Practice