Sub Activity – Windows
Windows includes activities for managing application windows. It allows automation to interact with, move, resize, minimize, maximize, and verify window states.
The Windows category has the following sub activities:
Close: This activity closes a specified Window.
Element Properties:
- Window: Window variable that holds the window you want.
Get Active Window: This activity helps to retrieve the current active Window and performs multiple actions within it.
Output Properties:
- ActiveWindow: Window variable that has found an active window.
Get Position: This activity retrieves the bounding rectangle of a specified UI element.
Window Properties:
- Window: The window you want to move or re-size.
Output Properties:
- Rectangle: Results in the bounding rectangle of the specified window in screen coordinates.
Get Window: This activity helps the user to get the specified window that is already opened.
Window Properties:
- Parent Window: The parent window to start searching form.
Output Properties:
- Window: Window variable that has found active window.
Maximize: This activity maximizes the active window.
Window Properties:
- Window: A window variable that holds the window you want to maximize.
Minimize: This activity minimizes the window.
Window Properties:
- Window: A window variable that holds the window you want to minimize.
Move Window: This activity will change the position and Dimensions of the indicated window.
Element Properties:
- Element: This field only supports a UI element variable returned by another activity.
Input Properties:
- Height: The new height of the window. Positive and negative numbers are supported.
- Width: The new width of the window. Positive and negative numbers are supported.
- X-Position: The new X-Position of the window. Positive and negative numbers are supported.
- Y-Position: The new Y-Position of the window. Positive and negative numbers are supported.
Window Exists: This activity checks whether a particular window exists or not.
Window Properties:
- Parent Window: The parent window to start searching form.
Output Properties:
- Exists: It indicates window exists or not.
- Window: Window variable that stores the window if window exists.