views:

392

answers:

3

We have a suite of automatic tests written in QTP (Quick Test Pro - an HP product), and we have just upgraded to Delphi 2009 (I know we are late adopters), and all of these tests no longer work. The plugin that QTP have released does not work with Delphi 2009 - we have that in writing now from HP. Do you know of (a) anyone else in the same boat as us (b) anyone have a work around, as I can't see one and HP don't seem to be too proactive about this. Any help would be appreciated.

A: 

Hi Mmarquee,

I hate to admit it but if QTP completely doesn't work with Delphi 2009 you have to try TestComplete. If you still want to have QTP as your main tool you should try launching TestComplete's tests from QTP through COM automation.

Thanks.

Albert Gareev
Only problem is, use of QTP isn't my decision - the testing team have the expertise, if only it actually supported the application development environment we actually use!
Mmarquee
I'm a happy test complete user. AutomatedQA is a delphi-friendly company.
Warren P
A: 

We have the same problem with WinRunner as well. The problem has actually been solved. We editted the plugin source so that it responds properly to UniCode strings, and it all works properly. Not sure whether legally we are allowed to publish (or indeed do) this, but it enables us to use WinRunner / QTP, so I don't see how anyone can complain!

Mmarquee
Bravo! It would have been great if QTP Architects (e.g. `Roy Nuriel`) communicated to you for sharing your solution. Delphi support is actually a bunch of sources written in Object Pascal. It has extensibility foundation though, so potential for customization is considerable.
Andrey
A: 

Hi Mmarquee,

Could you tell me how exactly you solved the problem with the WinRunner. Did you change the TestSrvr.pas? Do you mind sending me the changed source code please? My email is: snakex (at) poczta.onet.pl.

Many thanks, Tom

We altered the WinRunner code - I'm not sure of the legal position of the code, but basically the old code needs to cope with Unicode and we changed it to do it. I'm not a lawyer so I'm not really able to make a call on the legallity of making these changes available.Not very helpful unfortunately.
Mmarquee
Much appreciate your swift answer,I have one more question. Did you changed the Delphi plug-in TestSrvr.pas, MercControl.pas, MercCustControl.pas or you changed the WinRunner application? Many thanks,Tom
Sorry, missed your question somehow. We changed the Delphi code, mostly to allow for unicode.
Mmarquee