Take screenshots of Master user authentication
Sometimes, authentication of the Master user does not work as expected, and it is hard to understand the reason from logs. To view the error type, take a screenshot of the Master user authentication.
To enable taking screenshots of the Master user authentication, perform the following steps:
Connect to the RPA server and open Windows CMD as Administrator.
Stop the WFsvc service:
net stop WFSvcAdd
-Drpa.mfw.logs.screenshot=truebefore-jar bot-agent.jarin the following file:<RPA-instalaltion-directory>/bot-agent/bin/bot-master-service.batin case of the server installation<RPA-instalaltion-dirrectory>/bot-agent/bin/bot-nordp-service.batin case of the VDI installation
Save the file.
Start the WFSvc service.
net start WFSvcLog out from the RPA server.
When the Master user attempts to log in, the Master Agent generates five screenshots (three if there is no legal notice in the environment) in the <RPA-instalaltion-dirrectory>/bot-agent/logs/screenshot path. Screenshots are taken in the following cases:
Before sending a SAS sequence (
CTRL+Alt+Del)After sending a SAS sequence (
CTRL+Alt+Del)Before approving a legal notice
After approving a legal notice
Before a session becomes active
If any issues occur during the login, more screenshots can be generated.