Capture a Subpage

Some technologies (including Windows) require the declaration of subpages.

This requirement is due to the tree structure of Windows applications and to the way the Windows connector recognizes Windows pages:

If a Windows control to be recognized as a Page_1 by Desktop Studio has a parent control which is recognized as a Page_2, Page_1 MUST be declared as a subpage of Page_2.

This subpage relationship ensures that only the controls required are recognized. However, if not declared correctly, it can prevent required controls from being recognized correctly.

A subpage is declared in exactly the same way as a simple page declaration.

The only difference is that it MUST be declared with the corresponding parent page.

In the Explorer perspective, you can define this subpage relationship in the following ways:
  • Define a Subpage Relationship Manually

    To define a subpage relationship manually, select the parent page and click the Add a subpage context menu. The newly captured page will be created as a subpage of this page.

  • Detect a Subpage Relationship With Recognition

    If you do not define the subpage relationship manually, Studio Explorer tries to detect it by recognizing pages in the captured control parents. The nearest page recognized is used as the parent page.

  • Detecting a Subpage Relationship Without Recognition

    Multiple pages can be captured without having to define their criteria immediately. During this operation, Studio Explorer detects the subpage relationship by comparing the parent tree of each captured page and inserting a new captured page as a subpage of the correct parent.

  • Creating a Subpage from a Page Component

    A subpage can be created directly from the parent-page capture by right-clicking the item (1) and selecting Create a new Page from the context menu (2). The new subpage is created using the same capture, with the selected item as the root item.

Changing the Subpage Root Item

When a subpage is captured, the root item is set. Later on, another item can be set as the root item by right-clicking the new root item and selecting Associate with the Selected Page from the context menu.