Handling foreground error in UiPath

How can I handle this error, it generally comes if I run on remote machine and the remote machine window is minimized

image

Hi @neha.verma

You can use Activate Activity that will bring your window to foreground

https://docs.uipath.com/activities/other/latest/user-guide/activate

Get the activity and indicate on your remote window and that’s it

Regards
Sudharsan

Hi @neha.verma

You can try with “Activate” or “Attach Window” activities.

Attach Window - If you’re using the “Attach Window” activity, you may need to indicate a parent window or container where the target application resides.

Activate - Configure the activity by indicating the target application’s window

Check out the link

https://docs.uipath.com/activities/other/latest/user-guide/window-scope

Regards
Gokul

thanks, it helped.

1 Like

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