Having an error "Could not find UI element" when running the bot while the screen is locked

Hello,

I have a bot that runs perfectly fine when running while the the PC is attended.
However, it fails when running while the screen is locked, with an error saying “Could not find the user-interface (UI) element for this action.”
I am using “Simulate” as input mode for all the activities like click and type into.

The elements could not be selected by the UI frameworks (Default, AA, UIA), so I had to use Image Region Selection instead.

Try by publishing the project to the Orchestrator and then run the job and see if the job is faulted or successfully executed.

Happy Automation