Description
Closes a specified RAX Window instance.
Attributes
Input
UseWindow - The RAX Window instance to be closed. Only RaxWindow variables.
Common
ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.
DelayAfterMs - Executes the corresponding activity then waits for the specified amount of time (milliseconds) before it moves to the next activity.
DelayBeforeMs - Waits for the specified amount of time (milliseconds) before executing the corresponding activity.
Misc
DisplayName - Renames the activity.
Target.Element - The UiElement variable. Cannot be used together with Selector.
Target.Selector - Property used to find a specific UI Element when the activity is executed.
Target.TimeoutMs - Duration in milliseconds to send an error if the selected element is not located.
Target.WaitElement - Waits for an Element to be ready before the activity runs if COMPLETED is chosen. Does not wait for an Element if it is set as NONE.
Example
- Add a Close Window activity inside the initial Sequence.
- Click Select Element on Screen and select an open window. In this sample, a window with Google opened is selected.
The use case should look as the following screenshot.
After execution, the selected window should be closed.