Forum Discussion
AlexeyKolosov
Staff
15 years agoHi,
If you declare a property by using the Q_PROPERTY macro and this property is added to Meta-Object System, TestComplete will be able to access it.
Also, you can compile the application with debug information to provide TestComplete with deeper access to the application's internals. Let me quote the Qt Open Applications help topic:
In addition, if the Debug Info Agent™ is enabled, it provides scripts with access to protected and private properties and methods. Note that, the Agent will make protected and private properties and methods accessible to TestComplete only if the Read debug information for statically linked libraries option is enabled (for detailed information, see Project Properties - Debug Agent Options).