Entities for a Desktop Application

The following entities apply for a Desktop Studio application:

Application Entity

The Application entity is defined as the Desktop process of the application.

Page Entity

  • A Page entity is defined for each window of the application that must be controlled, such as the main window, popup windows, or MDI windows.

  • You can also define Page entities for subparts of an application window, such as for a tab item in a tab control, or control containers.

  • If required, generic page entities can be defined to represent a set of windows. For example, you can control a set of error popups using the same generic page entity.

  • An Item entity must be defined for each component that has to be controlled, such as input fields, buttons, labels, combo boxes, or checkboxes.

Item Entities

An Item entity must be defined for each component to be controlled, such as entry fields, buttons, labels, comboboxes, or checkboxes.

Application-Based Events

An application is only notified of two technical event types:

  • Start

  • End

Notifications of these events are issued automatically.

Page-Based Events

A declared page automatically receives the following technical events:

LOAD

The page is loaded.

UNLOAD

The page is closed.

Subpages

The concept of subpages is related to the structure of desktop applications. These applications usually have a main window, which often has child windows.

When you have to control applications of this type:

  • You must declare a main page to target the main window.

  • To target one of its child windows, you must declare a subpage of the main page.

The relationship between pages and subpages must be the same as the relationship between the corresponding targeted windows.

During recognition:

  • A subpage cannot be recognized until its parent page has been recognized

  • A subpage can only be recognized among the descendants of the component targeted by its parent page