CloseSubWindow
Last updated
Last updated
This is pre-built Action located under the @Window Element Name. It instructs the Avo Assure Client to close the sub window. The CloseSubWindow Action is crucial in automated testing for scenarios where an application contains multiple windows or dialog boxes (sub-windows). It allows testers to close specific sub-windows without affecting the main application window, ensuring that the application's UI behaves correctly when switching between different levels of windows.
Input: <Sub-window name>;<index>(Optional)
For above input syntax user needs to give the name of the sub-window and element index.
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
The product being tested is a desktop email client. The user opens the settings or preferences window to modify the application's settings (e.g., changing the theme). After completing the changes, the test needs to verify that the sub-window (the settings window) is closed correctly, returning to the main application window. After performing actions in the sub-window (e.g., saving preferences), the sub-window should close, and the user should return to the main application window.
saving preferences
This CloseSubWindow Action needs to close the expected sub-window (saving preferences).
The resulting lowercase string is stored in the {result} output variable as johndoe@example.com, which can be utilized for display or other purposes.