Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates? job going pretty well. Then, a major stumbling block.


The main application we (our company) all day long is written in Delphi, and QTP isn't specifically supported with Delphi applications. There was a beta written for QTP 8.2, but there's no guarantee it will work with 9.2 (which we are on).

I've tried it, and it has serious issues recognizing the objects in the app. If I can tell QTP explicitly the name of the control (btnOk, etc), I can get it to interact with the control. However, the tool for 8.2 won't show me the object properties in QTP 9.2.

So....What to do?


I guess I am now going to have to figure out a way to get at property information about the Delphi controls so I can write QTP scripts. Trouble is, next version (heck, next build) of QTP could make it fail...the addin, I mean. So, sounds like the solution to this problem can't be the continued use of any unsupported product.

I am considering all sorts of approaches, even (eww) analog recording or virtual objects in QTP to make this work. Writing a complete test harness for Delphi isn't off the table (although I can't imagine I could get paid by my company to do that).

If anyone has any idea how I might use a reflector-like tool to extract the information about the controls, that would at least get me running in the short run. Honestly, though, I could do with some advice of a more permanent nature if anyone has any.

Posted on Thursday, January 3, 2008 7:52 PM | Back to top

Comments on this post: QTP and Delphi: What a dilemma

# re: QTP and Delphi: What a dilemma
Requesting Gravatar...

Pray you are doing well in your automation.
What is the update on your approach? Did you try TestComplete by any chance?
Left by Kshitij on Feb 20, 2008 4:29 AM

# re: QTP and Delphi: What a dilemma
Requesting Gravatar...
Funcational testing 9.5 is coming up with a patch for supporting Delphi application
Left by Murali on Feb 24, 2008 11:35 PM

Comments have been closed on this topic.
Copyright © Theo Moore | Powered by: