You can create a character verification point to test the properties
of a certain character.
- While connecting Creating a host connection script,
log on to the host and interact with it as you normally would. When you reach
a screen where you would like to perform a test on an individual character,
select the Verification Point and Action Wizard icon
(
) on the Recording
monitor window toolbar.
- On the Select an Object page of the wizard,
select . (The Drag Hand Selection method,
with the corresponding Object Finder button, cannot
be used to set a verification point on a single character.) The Test
Object Browser displays a hierarchical tree of objects in your
application that are testable.
- Navigate the tree as described below to locate the object that
corresponds to the character you want to test, then select it to display its
recognition properties.
- Starting from the Select Test Object pane,
expand Frame, then SplitPane,
then Terminal, then Screen.
This action displays a list of all the fields defined for
the screen.
- Expand the field that contains the character you want to test.
Fields are named Field_x_y, where x is
the row containing the field, and y is the column. On VT
(Unix) systems, there is only one field, Field_1_1.
- Select the character 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 appears on the screen.
- startRow - starting row of the containing field
- startCol - starting column of the containing field
- position - position from the 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 is not
testable or the environment may not be enabled.
- After verifying you have selected the correct character, click
the Next button to set the test(s) you want to do on
that character. 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
- underline