You can automate applications with a graphical user interface (GUI) by referencing the application's controls in your script. Controls are applications’ user interface elements that display content or allow user interaction, such as button, text fields, and menus.
Controls have attributes and properties, and are also called elements or components.
Controls can be push buttons, radio buttons, checkboxes, text boxes, frames, labels, among others. Windows are also controls.
To automate GUI controls, you need to identify the controls that your bot should interact with. One possible way to do that is using selectors.