Login   /   Register

Update: HP Releases a New Delphi Add-In for QTP 9.5

Rate this article
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...
May 2nd, 2008 by Yaron Assa

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.

image

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

image    image

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:

image

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.

image

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.

image

And as with any other add-in, you can find detailed reference to the Delphi test-objects in QTP’s help files.

image 

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

6 Responses to “Update: HP Releases a New Delphi Add-In for QTP 9.5”

  1. aroon Says:

    [-]

    Sir I couldnt install since its shows this is not windows supported do you know any particular reason.

  2. Yaron Assa Says:

    [-]

    What version of Windows are you using?

  3. aroon Says:

    [-]

    Windows XP (I have tried in Virtual machine)

  4. Yaron Assa Says:

    [-]

    It works fine for me.

    Please start a thread in our forums, and specify the error you’re getting.

  5. yugandhar Says:

    [+]

    Hi, This is yugandhar,Actually we are working on GUI Application.QTP 9.0 is not recognizing the GUI objects. as per suggestion... ...

  6. Marcello Says:

    [+]

    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... ...

Leave a Reply

You must be logged in to post a comment.

This article was viewed 870 times