When I run the process in server, it faces the problems with the take screenshot activity.
And currently I suspect the pop up box is affecting it. This is because I notice that the popup box appear every time I login to the server.
The image below is the image of the pop up box.
Thus I wanted to know whether the logic of the take screenshot is same with window print screen or not, So that I can test it with window print screen to determine the cause of the error.
When I run the process, an error timeout reached occurred. Thus, it went to exception part and wanted to take screenshot. However, the take screenshot also facing te error.