nerdexam
Microsoft

PL-500 · Question #199

You build a desktop flow. You click the submit button of a web form in a web browser and the process fails. You need to fix the process. What should you do?

The correct answer is B. Open UI element definition and repair selector. When a UI element selector fails, opening the UI element definition and repairing the selector corrects the broken attribute mapping so the automation can locate the target element again.

Support solutions and troubleshooting

Question

You build a desktop flow. You click the submit button of a web form in a web browser and the process fails. You need to fix the process. What should you do?

Options

  • AEdit UI element.
  • BOpen UI element definition and repair selector.
  • CRename selector.
  • DOpen UI element definition and test selector.

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    75% (15)
  • C
    5% (1)
  • D
    15% (3)

Why each option

When a UI element selector fails, opening the UI element definition and repairing the selector corrects the broken attribute mapping so the automation can locate the target element again.

AEdit UI element.

Editing the UI element opens properties for general changes but does not specifically invoke the repair workflow that recaptures the selector against the live target element.

BOpen UI element definition and repair selector.Correct

Opening the UI element definition exposes the underlying selector attributes, and using the repair option recaptures or corrects the selector against the live element, restoring accurate targeting without requiring the element to be deleted and rebuilt. This is the precise workflow in Power Automate Desktop for fixing a broken selector while preserving the element's references throughout the flow.

CRename selector.

Renaming the selector changes only its label and has no effect on the underlying selector attributes that are causing the click to fail.

DOpen UI element definition and test selector.

Testing the selector identifies whether the selector works but does not fix it - a passing test with no repair leaves the broken selector unchanged.

Concept tested: Repairing a broken UI element selector in desktop flow

Source: https://learn.microsoft.com/en-us/power-automate/desktop-flows/ui-elements

Topics

#Power Automate Desktop#UI elements#Troubleshooting#Selectors

Community Discussion

No community discussion yet for this question.

Full PL-500 Practice