Posted: 26 Jun 2020 13:32 EDT Last activity: 29 Jun 2020 9:40 EDT
Error trying to capture screen to use OCR
I have created an automation for a process that takes a snapshot of a determined area of the screen, saves it as PNG and calls the documentOCR component to extract text from image. When I developed, it worked as expected, and I deployed it to run in a cloud machine. In the cloud machine, I installed Openspan Runtime and OCR Essentials to run the process, and when I run the deployed project manually, it works as expected too. But when I schedule it using Windows Task Scheduler and close the RDP connection to let it run automatically, the automation is not able to capture the screen.
Does anyone already faced any simillar scenario? I am using Pega Robotics Studio 8.0.2
***Edited by Moderator Marissa to update Content Type from Discussion to Question***
I suspect that your screen is locked. If it were, then any screen OCR would be of a blank screen. You'll need to make sure that your session is running with the desktop unlocked. I don't have any recent notes on how to do this without Robot Manager though, but you can probably find some suggestions via a Google search. If you use Robot Manager and the RPA Service, then your session should be unlocked when it is started.