Forum Discussion

suneel_daka's avatar
11 years ago

Testing Desktop Application developed in Delphi

Hi,



Can You please let us know how to recognize the object properties of a desktop application which has been developed using Delphi and they have used TMS Components which is third party controls.



I tried to Recognize them using Test Complete but was not successfull, Could you help me with this.


 


  • Hi Suneel,

     


    First of all, please make sure that your tested application is compiled with debug information - this will make TestComplete recognize the application properly. Refer to the "Preparing Delphi Applications for Testing" article to learn the exact steps you need to perform based on your IDE version.


     


    As for the TMS controls, TestComplete officially supports some controls of this vendor. You can find the list of them in the"Supported TMS Controls" article. If the controls used in your app aren't on the list, I can suggest two options:


     


    1. Check whether the controls are inherited from the supported controls. If they are, use the "Object Mapping" feature to make TestComplete treat the controls as the supported ones.


     


    2. Test the controls by using their native properties and methods. Please refer to the "Accessing Native Properties and Methods of Delphi Objects" article to learn more about this.