Error screenshot

Hi All,

in our usecase, we are using SAP and browser window. if any error in browser, we need to capture the error screenshot of browser. But it always take the SAP, since we use chromium, browser opreation is running in the background.

In RE framework, if any application error, bring corresponding application in front and capture the screen shot. Please advice.

Thanks,
Veera

Try with this activity and then use take screenshot
https://docs.uipath.com/activities/other/latest/ui-automation/get-active-window

@veeramani.shanmugam

1 Like

Use Try catch Surrounded by your Process and In the Catch block use take screen shot activity and save as Image!

@veeramani.shanmugam

Hi @veeramani.shanmugam

Check out this TAKE SCREENSHOT XAML file

TakeScreenshot.xaml (8.0 KB)

Regards
Gokul

i am able to take screenshot, its not issue.

i want to bring chrome in front and take screenshot of it.

As mentioned, SAP is always on focused. i want to bring the chrome and take screeshot.

Hope its clear now or do let me know

Hi @veeramani.shanmugam

Check out this thread

Regards
Gokul

Let s know if this is working fine or not
@veeramani.shanmugam

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