Support Article

Unable to capture and attach screenshots to a case



Unable to capture and attach screenshots to a case using the Pega out-of-the-box Screenshot Capture functionality.

Error Messages

Cannot capture screen. Target window position not found

Steps to Reproduce

  1. Configure the SECTION/HTML rule AttachmentHTML or ActionAttachaScreenshot
  2. Select Attach Screenshot from the dropdown (all the open windows are available for the screenshot).
  3. Select the PBS application from the dropdown list and click the Attach Screenshot button.

Root Cause

An issue in the custom application code

When a desktop window is shared between all open documents for an application (for example, Microsoft Excel), the screen capture tool does not select the exact document from all the open documents. The PBS application works similarly.
Hence, this is not an issue with the screen capture tool but with the PBS application where window management is different.


Perform the following local-change:

Activate the respective document and proceed with the screenshot.

Published March 26, 2018 - Updated October 8, 2020

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.