Forum Discussion

Vinay_1's avatar
Vinay_1
New Contributor
14 years ago

TestComplete Issue in Capturing Object for Delphi Applications

Hi All



I am very new to TestComplete,



I have been working around with couple of tools to test the windows applications built on (Delphi environment), With non yielding any results



Atlasti ahve landed here to use Test Complete



As a pre-requiste i have added the necesarry plugins required to captuure delphi applications both tcOpenApps2.pls and tcThirdPartyControls.pls

But to my surprise when i record the applications it wont enter the main page it stops while recording (Whereas we can access the application when off from the recording mode).



Please help me making the necesary pre - req if required to test the applications and what are the necesarry actions need to be taken to test the application



Appreciate your help

thanks & regards

Vinay Gowda




  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Vinay,


    Please help me making the necesary pre - req if required to test the applications and what are the necesarry actions need to be taken to test the application.


    First of all, the application must be compiled in a special way, so TestComplete could recognize it as Open. For more information, please refer to the Using Debug Info Agent With Delphi Applications help topic.


    After that, make sure that all the required plug-ins (Delphi and C++Builder Open Applications Support, VCL Controls Support) are installed and enabled in TestComplete. For more information, see the Testing Delphi Applications - Required Plug-Ins help topic.


    To learn more about testing Delphi applications with TestComplete, please refer to the Testing Delphi Applications section of the online help.

  • Vinay_1's avatar
    Vinay_1
    New Contributor
    Hi Irina



    Thanks a lot buddy , Appreciate your help on the same



    To brief you on what we have is since the application is given by business, what we have in our end is just an  .exe file



    Have done all the pre - req but can you please brief me in how can we complie the same using the debug



    and major thing is it possible for us to test the application without having the source code.



    Appreciate your help

    Thanks and regards

    Vinay
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Vinay,


    is it possible for us to test the application without having the source code


    Unfortunately, in this case, you won't be able to access some properties of the application as the debug information stores data about them.


    So, if you cannot recompile the application according to the approach described in our help topic, I recommend that you follow the steps below:

    1. Contact the developers of the tested application.

    2. Ask them to provide you with the .pdb file that corresponds to this application.

    3. Copy this file to the folder that contains the .exe file of the application on your machine.

    4. Try running your test again.


    Does the problem persist?