Forum Discussion

cuiqi's avatar
14 years ago

Trouble testing values stored in an TChart8 footer text

I used Testcomplete4 to test  an application written in Delphi.In the application a TChart is used ,I want to access the Foot text of the Chart. First all I made the appliction as an open application and then  I followed instructions of using Debug inf agent with delphei application.  After all I re-compile the application . In Testcomplete I used following script:

 w1 := Sys.Process('Chartfoot').VCLObject('Form1');

 w2 := w1.VCLObject('Chart');

 w3:=w2.Foot.text.text;

 to approch  the foot text  then I got error message ''Unknown name text''



could you tell me how can to approch the foot text of TChart


1 Reply



  • Hi,






    We have checked this behavior and found out that it occurs when debugging information is not included into the tested application. When we compiled a similar application with debugging information, your script worked fine for us. Try compiling your application with debugging information as it is described in the "Using Debug Info Agent With Delphi Applications" help topic of the TestComplete 4 Help system.






    BTW, the latest version of TestComplete is 7.52.