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