UiPath Advanced RPA Developer (UiARD) — Question 66

In a UiPath project, a developer uses a Click Button activity. A desktop application should be opened as a result of clicking the button. Based on best practice, what should the developer use to ensure: (1) the button element is clicked and (2) the application is opened correctly?

Answer options

Correct answer: D

Explanation

The correct answer is D because it utilizes the Retry Scope activity to ensure the Click action is retried until the application is confirmed to be open by checking for an existing element. Option A does not guarantee the application's opening and may lead to errors being ignored. Option B checks for an element only after the click, lacking the proactive approach of ensuring the application opens first. Option C is insufficient as it does not account for retries in case of failure.