Developing The Basic UFT Testing Agent > Developing Support for Retrieving Identification Property Run-Time Values > Implementing GetElementType and GetProperties

Implementing GetElementType and GetProperties

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.

Note: