Open topic with navigation
Implement the GetElementType method to return the test object class of the specified object. Implement the GetProperties method to return an array containing the values of the specified properties in the same order as the input property-name array.
In a UFT GUI test, a user can create a step that runs the GetROProperty method with any given string as the property name. This test step results in UFT calling GetProperties with the same string. Therefore, GetProperties must return an empty value for any property that it does not recognize.
If you implement IRectangleSupplier, UFT infers the values of the abs_x, abs_y, width, and height properties from the values returned from the GetRectangle function, and it does not pass these properties to the GetProperties call.
To support bitmap checkpoints on a specific test object class, you must implement either IRectangleSupplier or the width and height identification properties for that test object class.
To support the Visual Relation Identifier functionality for a test object class, you must implement either IRectangleSupplier or the abs_x, abs_y, width, and height identification properties for that test object class.
If you choose the latter option for either of these features, you must include the width and height (and abs_x, abs_y) identification properties in the definition of this test object class in the testing environment XML and implement the GetProperties method to return the relevant values.