activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Aug 27, 2025

Window Operation

UiPath.UIAutomationNext.Activities.NWindowOperation

Description

Perform various operations on the specified window element.

This activity must be added inside a Use Application/Browser activity.

To use this activity outside a Use Application/Browseractivity, you need to provide an Input element.

This activity is compatible with Object Repository.

Project compatibility

Windows | Cross-platform

Configuration

  • Window - Select the window type for which to perform the operation.
    • Main application window or Input Element - Apply the operation to the window specified either by the parent Use Application/Browser activity or through the Input element property..
    • Specific application window - Apply the operation to the indicated windows.
  • Operation - Select the operation to be performed on the given window.
    • Close window - Close the selected window.
    • Hide window - Hide the selected window. This makes the window completely invisible.
    • Maximize window - Maximize the selected window.
    • Minimize window - Minimize the selected window.
    • Move window - Change the position and dimensions of the selected window.
    • Restore window - Restore the selected window to its original size and position.
    • Show window - Display and activate the selected window.
    • Bring window to foreground - Activate the selected window and bring it to the foreground.
  • Indicate target on screen - Available only for the Specific application window option, to indicate the window to use as target.
  • After the target has been indicated, manage the target by selecting the menu options button and choosing one of the following options:
    • Indicate target - Indicate the window again. In case the Descriptor is defined in Object Repository, you have to unlink from Object Repository it if you want to indicate a Descriptor only for the current activity.
    • Edit target - Open the selection mode to configure the target.
    • Show in Object Repository - Opens the Object Repository panel with the Descriptor selected.
    • Unlink from Object Repository - Unlinks the Descriptor from Object Repository.
    • Add to Object Repository - Add the current UI element to a library project, from where it can be reused throughout your automation process. This option is only displayed when the object has not yet been added to the Object Repository.
Properties panel

Input/Output Element

  • Input element - The UI element on which the activity is executed, stored in an UIElement object. This field supports only UIElement objects. This object can be obtained from the Output Element property field of other UI Automation activities.
  • Output element - Outputs a target UI Element and stores it in a UIElement object, which can be further used to target the same element with other activities.

Options

  • Healing Agent mode - Configures the behavior of the Healing Agent for this activity, based on Governance or Orchestrator settings at process or job level.
    • Disabled - Turns off the Healing Agent for this activity.
    • Inherit job settings - Applies the settings defined in Governance or in Orchestrator at the process or job level.
    • Recommendation only - Enables the Healing Agent to provide recommendations on how to fix UI automation issues on running jobs, but only if permitted by Governance or Orchestrator settings.
    • Same as App/Browser - Inherits the configuration from the parent Use Application/Browser activity.
  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Timings

  • Delay before - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.

  • Delay after - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.

  • Timeout - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

  • Window Operation
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.