Creating character verification points

You can create a character verification point to test the properties of a certain character in your application. The character is a part of a host text field (ECLField). The character can be in any host text field that is identified by the HCL DevOps Test UI (Test UI). When you record the verification point, a baseline of the character is created. Every time you play back the script, the character is compared to check if any changes have occurred. This helps in identifying any mismatch in character.

Procedure

  1. Log in and interact with the host while creating a host connection script. For more information on creating a host connection script, see the related topics.
  2. When you are in the window in which you want to perform a test on an individual character, click the Verification Point and Action Wizard icon in the Recording monitor window.
  3. On the Select an Object page of the wizard, click Selection Method > Test Object Browser.
    A hierarchical tree of testable objects in your application is displayed in the Test Object Browser.
    Note: : You cannot use the drag hand with the corresponding Object Finder button to set a verification point on a single character.
  4. Navigate the tree to locate the object that corresponds to the character that you want to test. Select it to display its recognition properties. To navigate the tree:
    1. From the Select Test Object pane, click Frame > SplitPane > Terminal > Screen.
    2. Expand the field that contains the character that you want to test. Fields are named Field_x_y, where x is the row that contains the field and y is the column. On Virtual Terminal (UNIX) systems, there is only one row.
    3. Select the character that you want to test. Characters are named Char_x_y_z, where x and y are the same as the corresponding field, and z is the character position within the field.
      The recognition properties of this character are shown in the Object Recognition Properties pane.
      The value of the char property is the character as it is displayed:
      • startRow: Starting row of the containing field
      • startCol: Starting column of the containing field
      • position: Position from beginning of the containing field
      • class: Class name
      • char: Character in the current position
      Note: You can use this information to confirm that you have selected the correct character object. If no information is listed, the object cannot be tested or the environment might not be enabled for testing.
  5. After you verify that you have selected the correct character, click Next.
    You can set a data verification point on the character value or set one or more of the following property verification points: background, blink, char, class, foreground, position, reverse, startCol, startRow, and underline.