The TeScreen test object supports the description properties listed in the table below.
The number of columns in the screen.
The current column position of the cursor in the terminal emulator screen. The first column in the screen is 1.
The current row position of the cursor in the terminal emulator screen. The first row in the screen is 1.
The ordinal identifier that UFT One assigns to the object to indicate the order in which the object appears relative to other objects with an otherwise identical description. The property can be useful for uniquely identifying an object using programmatic descriptions. This property cannot be used with GetROProperty.
Values begin with 0.
Note: You can record on one terminal emulator session at a time.
input field count
The number of unprotected fields in the screen.
The logical name of the screen.
The value is determined by the location of the label area, which is defined by the values of the label column, label length, and label row properties. These properties are part of the TeScreen test object description and are therefore not available in the Object Identification dialog box. For details on the Object Identification Dialog Box, see the Micro Focus Unified Functional Testing User Guide.
This property is useful when creating an object description, but it is not recommended for checkpoints because its value might be generated.
The column position of the start of the label area. The first column in the screen is 1.
The length of the label area.
The row position of the label area. The first row in the screen is 1.
The ordinal identifier that UFT One assigns to the object to indicate where the object appears within the window, frame, or dialog box. Values are assigned from top to bottom, and left to right. This property cannot be used with GetROProperty.
Values begin with 0.
protected field count
The number of protected (read-only) fields in the screen.
The number of rows in the screen.
The unique identifier assigned to the screen object.
Content of the screen. Use the GetROProperty method to access this property.
Represents the test object's visual relations identifier.
Use this property in GetTOProperty and SetTOProperty steps to return or apply a VisualRelationsCollection object for a test object. The VisualRelationsCollection object enables you to retrieve or replace the visual relation identifier settings of a test object during a run session.
SetVRIColl = TestObject.GetTOProperty("visual relations")
TestObject.SetTOProperty "visual relations", VRIColl
For details, see VisualRelationsCollection Object in the Utility section of the Object Model Reference.
This property is not listed in the Object Spy. It is not retrieved when you use the GetTOProperties method. It cannot be used in the Object Identification dialog box, the description area of the object repository, checkpoint or output value steps, and so on.