Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing D2009 application with Test Complete 7.0

We are trying to use Test Complete 7 to test an application compiled in Delphi 2009 (recently ported from D2006). In theory this should be really easy - you compile your app with debug information, then user a stripper utility to strip the debug info out into a separate *.tds file. TC should then have access to all the properties and methods it needs. In practice we are finding that: a) it can be quite hard to get many properties and methods to appear at all b) if they do appear and they have parameters/indices then the indicated parameter/index list may bear no relation to the actual list in our code c) methods and properties that appear to be shipshape do not work/return anything other than complete rubbish.

Does anyone else have any experience of this scenario, did you experience any problems, and if you were able to solve them, what did you do?

Automated QA are looking into this problem for us, but we don't seem to be making much headway, and it is looking like the only way they will solve this is if we send them the source for our application which is something we are reluctant to do for various reasons ranging from practical to legal.

btw, on a small test app, we do not experience the same problems.

like image 763
Steve Avatar asked Mar 01 '23 14:03

Steve


1 Answers

I'm answering my own question, as we have found the problem. Adding Generics to the executable seems to create debug information, Test Complete can't handle. Not sure yet if it is Delphi messing up the debug information, or Test Complete not reading it properly.

like image 89
Steve Avatar answered Mar 12 '23 10:03

Steve