TeField description properties
The TeField test object supports the description properties listed in the table below.
The static text located near the field. This property is useful when creating an object description but should not be used for checkpoints.
Note: If no text is found near the field, UFT One generates a unique identifier. For example, the property might be,
The unique identifier assigned to the field object.
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.
The length of the field in characters.
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.
Indicates whether the field is numeric only.
Indicates whether the field is protected (read-only).
Column number of the first character in the field. The first column in the screen is 1.
Row number of the first character in the field. The first row in the screen is 1.
Content of the field.
Indicates whether the contents of the field are visible.
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.