Close Sub Window

This is a pre-built action located under the @Window Element. The functionality of this action in Avo Assure to close a sub-window of the application without affecting the main application window, and save the result in dynamic variable.

Syntax

Input Value: <Sub-window name>;<index>(Optional)

Argument
Description

<Sub-window name> (Required)

Specify the title of the sub-window to be closed.

<index> (Optional)

The index of the sub-window, if multiple instances with same name exist.

Output Value

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This dynamic variable holds result as True or False.

Example 1

Closes a specified sub-window within the application based on its name

The Close Sub Window action takes the value from the Input Value column (e.g., Avo Bank) and closes the sub-window using the provided name.

Example 2

Closes a specified sub-window within the application based on its name and index

The Close Sub Window action takes the value from the Input Value column (e.g., Avo Bank;1) and closes the sub-window using the provided name and optional index.

Last updated

Was this helpful?