App Window
Studio Pro activities > GUI Automation > App Window. Includes "Maximize element", "Minimize element", "Activate element" and "Close window".
Activities
Maximize element | Minimize element |
---|---|
Set an application window to its maximum size | Minimize all application windows |
Activate element | Close window |
Bring a specific element to the foreground | Close a specific application |
Maximize element
Description
Maximizes an element.
Parameters
Interface element
Select an element from a list or create a new one.
Usage Examples
This activity is used to maximize an application window.
Minimize element
Description
Minimizes an element.
Parameters
Interface element
Select an element from a list or create new one.
Minimize all windows
Minimizes all opened windows.
Usage Examples
Use this activity to make the desktop visible. I.e. if you need to click on desktop icon.
Activate element
Description
Brings an element to foreground.
Parameters
Interface element
Select an element from a list or create new one.
Usage Examples
This activity could be a fail-save option to work with application that can be minimized by user before workflow execution.
Close window
Description
This activity closes the selected window.
Parameters
Interface element
This option allows you to pick an existing element from the list or set a new one.
To specify the window to close, you can select either the window itself (parent element) or any of its child elements (e. g. tabs).
Here are the elements to pick in Notepad:
Wait before, sec
This option allows you to set the delay before the execution of the activity. The delay is set in seconds.
Wait after, sec
This option allows you to set the delay after the execution of the activity. The delay is set in seconds.
Comment
This parameter allows you to create an annotation to the activity. The input text will be displayed above the activity name.
How to use it?
Place this activity in the workflow after the last required interaction with the window to close it.
It is always a good practice to create a workflow in a way that brings the desktop back to the state that it was before the execution.
As follows, using the “Close window” activity you can close all the windows after the workflow was executed.
Updated over 1 year ago