How to take screenshot of exception when it occurs

I need to capture a screenshot when the exception is thrown for a process. If anyone has created / enable this functionality in their project, please guide me. Your valuable suggestions are welcome.

Thanks!

1 Like

Just use take screenshot activity and Save Image activity in the Catch Block.

1 Like

Hi Shweta,

In the Reframework , there is a TakeScreenshot.xaml. This would help you. Also check this link Screenshot of Exception.

Thanks

Thanks Karthik and Nivedita, I ahve done it the same way in Catch block only via screnshot. :+1: