Forum Discussion

GBrg's avatar
GBrg
New Contributor
4 years ago

TestComplete unable to identify any object - C++ Application

Hello All;   I am a very new user to this product and was wondering if there are any helpful tips to get TestComplete to recognise my application. The application I would like to automate is a Poi...
  • AlexKaras's avatar
    AlexKaras
    4 years ago

    GBrg :

    Hi Gerard,

     

    unless RTTI or external Debug has been enabled

    If debug information for C/C++ application is absent then TestComplete can access only those objects (windows) that are exposed by the operating system. The same windows can be seen in, say, Spy++.

    With debug information been accessible, TestComplete can access internal objects of the tested application much like debugger does.

    Depending on the given tested application, the following options are possible in case debug information is absent:

    -- Use keyboard shortcuts to trigger this or that function and/or activate this or that field/control (e.g.: <mainWindow>.Keys('^S') to call Save As dialog);

    -- Image-based testing;

    -- Coordinate-based testing;

    -- Text recognition technology (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/text-recognition/about.html).