Declare a Screen

You can declare a screen of an application. To declare a screen, you must set recognition criteria as it it enables correct identification of the screen during automation.

Prerequisites

You've captured an application and at least one screen as described in Capture an Application.

Procedure

  1. Once a screen has been captured, select it in the left-hand navigation panel (1). Some criteria have been automatically selected during the capture (2).

  2. Optional: Select to remove a criterion.

  3. Optional: To add other criteria, click any data displayed in Captured Data: the selected data is then automatically added as a criterion. In the example below, the captured data "MAINFRAME" and "TITLE" (1) have been assigned as criteria (2).

  4. Optional: Click a criterion in the Criteria panel to change its properties.

  5. Once you've defined your recognition criteria, click Save.
  6. Optional: After you've declared one or more elements of the screen, you can define an element as must exist, must not exist or as a collection. Select the three dots after the element name in the picker panel.

    Must exist means that the screen is not recognized unless the element or elements defined as must exist are detected.

    Must not exist means that the screen is not recognized if an element defined as must not exist is detected.

    Is a collection means that the element consists of multiple parts - for example, a list with multiple entries.