HP has released (30/4) a new Add-In for QTP 9.5 - the Delphi Add-In. The new add-in supports controls and objects in the Delphi environment (obviously), and, loyal to the new extensibility trend of QTP, offers the ability to write extensibilities for new controls and objects.
The add-in information sheet specifies the supported OS to be Windows XP, Windows 2000 and Windows 2003. Does this means Windows Vista is not supported for this patch? I couldn’t check if this is a simple omission or a real issue - if any of you have Vista, we’d love to know if the add-in works on it or not.
Update: HP personal have contacted me and assured me that the add-in works perfectly well with Vista. There was a small problem with the readme which caused the omission (currently the webpage still doesn’t specify Vista), but it should be regarded as a typo, not an actual issue.
Downloading the add-in
The new add-in can be downloaded from here (requires HP support account). Just find the "Download Link" under "Should I Download", and click it.
Then save the file (a surprisingly slim 5.2MB executable) to your preferred location.
Installing the Add-in
After you’ve downloaded the file, run it, and you’ll be greeted by the usual HP legal notice. Just click install to initiate the process. The installer looks pretty much like QuickTest’s main installer
It takes only a short while to install (at least it was only a short while on my Macbook). Naturally, QTP has to be closed, otherwise you’ll receive the following warning:
Using the add-in
After the installation is complete, open QTP. If you’ve configured the add-in manager to load at startup, you’ll see the Delphi add-in in the list just like any other QTP add-in. You must enable the VB add-in in order for the Delphi add-in to function properly.
Before you can record your Delphi application, you’ll need to use a certain .pas module to enable communication between QTP and Delphi. Make sure you read "Enabling Communications Between QuickTest Professional and Your Delphi Application" in QTP’s help files. After that, you can immediately record and use Delphi objects in your scripts.
And as with any other add-in, you can find detailed reference to the Delphi test-objects in QTP’s help files.
Help regarding writing Delphi extensibilities can be found user C:\Program Files\HP\QuickTest Professional\help\Extensibility\DelphiExtensibility.chm and DelphiExtensibility.pdf.
Posted in Yaron Assa's Blog

Yaron Assa





May 6th, 2008 at 2:33 pm
Sir I couldnt install since its shows this is not windows supported do you know any particular reason.
May 6th, 2008 at 2:52 pm
What version of Windows are you using?
May 6th, 2008 at 3:09 pm
Windows XP (I have tried in Virtual machine)
May 6th, 2008 at 5:43 pm
It works fine for me.
Please start a thread in our forums, and specify the error you’re getting.
May 7th, 2008 at 5:09 pm
Hi,
This is yugandhar,Actually we are working on GUI Application.QTP 9.0 is not recognizing the GUI objects.
as per suggestions of some other proffesionals,i found Flash Add-In is required for that.
Please provde me the information about Flash Add-in
May 29th, 2008 at 3:05 pm
Hi, I have problems with the new delphi addin too. It doesn’t work on Win2000 and not on Vista. Recording works fine, but playback the script produces the error message “unknown error” on the first line of code.