We are working on a process which needs the display to stay alive as the application is unable to start/launch in minimized/locked mode. Request your inputs for a generic approach and also to handle any unknown pop up which may come up in bot execution. Below are the details.
Locked/Minimized screen application startup issue: Like any other process execution we expect the bot to run on the virtual machine(Server) individually without any kind of monitoring or manual intervention according to its schedule. In our process, Bot is designed to run all weekdays 24/5. Here we are facing issue in terms of the application unable to start/launch in locked mode or Virtual machine is minimized leading to bot failure. A Generic approach to tackle this issue to use awake script to keep the screen alive but this approach doesn’t comply with the security standards. Please suggest.
Unknown pop ups: As part of any process we observe unknown pop ups which may come up at any particular time or location in the application irrespective of the flow. If the instance/use case known then that can be handled using a wait handle for a particular control. But here in terms of these unknown as they are unhandled bot is getting stuck waiting for the user action on the pop up dialog box and eventually leading to failure.