QTP and Delphi: What a dilemma

So...new 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 @ Thursday, January 03, 2008 7:52 PM

Print

Comments on this entry:

# re: QTP and Delphi: What a dilemma

Left by Kshitij at 2/20/2008 4:29 AM
Gravatar
Hello,

Pray you are doing well in your automation.
What is the update on your approach? Did you try TestComplete by any chance?

# re: QTP and Delphi: What a dilemma

Left by Murali at 2/24/2008 11:35 PM
Gravatar
Funcational testing 9.5 is coming up with a patch for supporting Delphi application
Comments have been closed on this topic.
«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910