

To do this properly in Agilitest, use the action to close the channel.

Direct intervention on the applicationĬlosing the current window gets rid of a cluttered pop-up window.īut we do not recommend closing the main application window (unless you want to control an alert window). The Window Management API enables you to create and manipulate Glue42 Windows and is the basis of the App Management API. Obviously, in some cases, it is useful to force a specific configuration, if you use graphical recognition for example, because contrary to an approach related to the application structure (DOM, Desktop), graphical recognition will act on the elements actually visible on the screen.

If you always place your application windows in the same position, you may not see any bugs, in which case we recommend letting the applications use the screen space as they wish, and possibly testing on different screen sizes. In some cases, this can cause problems: Forced positioning In general, the number 0 corresponds to the main window of the application, and the following numbers are in the order of appearance of the windows (or tabs in a browser).Īll these actions will allow you to precisely influence the configuration of your application's windows. This function allows you to change the current window by indicating the number of the window concerned.
