Exception error while taking a screenshot

Hi, I want to take screenshot after certain activities but does not want to indicate the browser screen each time because the content can be different. For this, I am using ‘Get Active Window’ activity and storing its output in a variable. But it is resulting in an error. The screenshot is attached.
image

Hi @Muhammad_Bilal2

Welcome to community

Instead of using Modern use classic activity

Regards
Gokul

Hi,

Use take a screenshot for the classic design as attached:

1 Like

Cool. But where do I specify the saved image file path?

Hi,

Please find the below attached screenshot, you must use save image activity

1 Like

use classic activity to take screenshot and dont indicate any screen just let it be blank or pass the top level containers

Hi @Muhammad_Bilal2

Here we go with sample example

TakeScreenshot.xaml (8.0 KB)

Regards
Gokul

Great, thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.