Forum Discussion

ConfigManager's avatar
ConfigManager
Occasional Contributor
10 years ago

How to handle non standard windows with regards to object mapping

I am having trouble mapping objects in a Desktop application that doesn't utilize standard windows format. So essentially when trying to map say a menu item, it gives me screen coordinates instead of...
  • AlexKaras's avatar
    AlexKaras
    10 years ago

    Hi,

     

    > application is most likely written in C++. [...] I know I can't build or recompile the tool.

    It looks like your application does not have associated debug info which is required for C++ applications in order TestComplete can access their internals. Without debug info TestComplete can see and control only application onjects that are exposed by OS (similar content that can be seen, for example, with the Spy++ tool).

    If it is possible to recompile the application refer to the http://support.smartbear.com/viewarticle/75611/ help section.

    If there is no chance to compile your application as open to TestComplete, than the only options are either coordinate-based clicks (combined with 'blind' typing) or you may try image search, but both methods are pretty unreliable.