Window handling and element interaction

Completed

Window handling

The windows sub group of actions is responsible for helping you interact with entire UI windows.

Use the Focus Window action to bring a window to the foreground. You can identify the window by its UI element and then capture it, or you can use an already captured window element, as shown in the following screenshot:

Screenshot of the The Focus Window action.

Similarly, you can add a Set Window State action to maximize the now focused application.

Screenshot of the The Set Window State action.

Element interaction

Use the Click Element in Window action to perform a mouse click on a UI element.

Screenshot of the The Click UI Element in Window action.

Note

The Click Element in Window action requires a simple UI element, in contrast to the previous actions that required a window element.

To edit the contents of a text field, use the appropriate action:

Screenshot of the The Populate Text Field in Window action.

Screenshot of the Capturing a text field.

To save the changes, Select the Save button by using the Press Button in Window action.

Screenshot of the The Press Button in Window action.

Your final task is to use the Close Window action to close the app, as shown in the following screenshot.

Screenshot of the The Close Window action.