You can use the
NativeObject property to provide access to accessibility information that the tested application returns for a window. See Implementing MSAA Support Manually.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
One of the following:
An object that implements the
IDispatchinterface, or a descendant interface, for example,
Null object (
To get a reference to the
IAccessible interface, TestComplete calls the Windows API
AccessibleObjectFromWindow function. This function requests the
IDispatch object from a window. It is supposed, that this object provides accessibility information about the window (
IDispatch and typecasting is not a problem).
Since, TestComplete requests
IDispatch, the application code can return any object that implements the
IDispatch interface or its descendants. See Implementing MSAA Support Manually.