AITableCell properties
Object properties can be retrieved from the application using the GetObjectProperty and GetAllProperties methods. You can then use the properties to check the object's location or content.
The AITableCell test object supports the properties listed in the table below.
Property Name | Description |
---|---|
abs_x | The object's absolute x-coordinate (left) relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor. Note: When working with AI objects, open the tested application on the primary monitor. |
abs_y | The object's absolute y-coordinate (top) relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor. Note: When working with AI objects, open the tested application on the primary monitor. |
column | The column in which this table cell is located. |
confidence | The level of certainty with which AI identified this control, in percentage. |
Control_class | The type of control that was identified. |
height | The object's height (in pixels). |
hint | An instruction or example indicating the type of content to enter for the value of a control, for example, a grayed out string inside a text box. |
name | The object's name. |
row | The row in which this table cell is located. |
text | The text used to identify the control. Relevant for controls identified by text. |
value | The text contained in the control. Relevant for edit boxes, text boxes, and combo boxes. |
width | The object's width (in pixels). |
x | The object's x-coordinate (left) relative to the frame (in pixels). |
y | The object's y-coordinate (top) relative to the frame (in pixels). |
See also: