Click UI Element
Close UI Window
Collapse UI Element
Drag UI Element
Expand UI Element
Find UI Element
Get UI Number
Get UI Selection
Get UI Text
Get Window Details
Invoke UI Element
Select UI Element
Set UI Element Value
Toggle UI Element
Update UI Window
Use UI Window
The Close UI Window building block is used to close Desktop UI window.
Please note that if no window input is provided then this block will by default close last active window, otherwise it will close the window provided as input to this block.
Fully expanded, the Close UI Window block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the UI Window has been successfully closed.
The title of the block (“Close UI Window”) can be changed by double-clicking on it and typing in a new title.
By default, the “Send win message” method is selected for closing Desktop application under test, user can also choose to close window using “Force kill process” method.
It’s an alternate flow, it triggers if windows is not closed within specified timeout.
The maximum time spent searching for the UI window before giving up and triggering “Not found”.
The default value is 10 seconds.
Note: All cases have a “global timeout” that can be configured in the “Settings” panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.
Window handle the window to be closed. Typically the window handle is set by using a Start Application or a Use Window building block.Updated March 13th 2018.