November 19, 2010

QTP 10 first impressions: Meh

This week, QTP 10 was installed at our workspace. We upgraded from 9.1 to 10, so we could also experience all new features of 9.5.
First of all, this is written from my own perspective. I don't use the object repository, the default report, multiple actions or the native QTP connection. I know, these things are improved, but I cannot write about them.

The good things
OK, the function viewer is great. Unfortunately, it does not display classes and properties, while functions and subs inside classes are displayed as Publics. What was the problem with displaying classes as expandable trees and with properties and methods underneath you would think.
Also functions starting with a square bracket [ are not rendered in the function viewer.

The Todo list could become quite handy, but after years working without it, I can... do without it.

The bad things
200 Megs. That is the amount of RAM QTP consumes if I start it, even without any scripts loaded. Just to be fair, I think it is more a problem with the installation and that only 2 of the 30(!!) patches are loaded by default, but I cannot change it and it bothers me. So I categorized it as a bad thing.
This brings me to the next point: Hangs. It hangs a lot and it makes my PC slow, especially Internet Explorer and Windows Explorer. Again, I think it is a problem with the installation and I have to look it up and/or ask support to our godlike and always kind administrators (without them I cannot do anything, so playing nice is important. Maybe they read this.). I think that is a bad thing.

The "Public Default Property Let Foobar()
End Property
End Property
End Property
End Property" syndrom.
WHY???

Variable typing is messed up:
Print "123" + "321" results in "123321". Are we switching to Javascript or what? I thought VBScript was proud of their dynamic var typing (as if that is a good thing). Don't mess with my brain by changing the working of the + sign. Make variables dynamic or make operators dynamic, not both!

Variable conversion is different:
I noticed a classical rounding error: subtracting two numbers can end up with a very small decimal part. Like (not a real example):
4.32 + -0.32 results in 4.00000000000014
Annoying when you want to compare two numbers during automated testing.

The bad things that remain
No autocomplete inside libraries.
No jump-to-function from libraries to other libraries.
The find is still buggy, with annoying "forward or backward" radiobutton.
'Sometimes a duplicate code line overwrites other code' bug.
No declaration check on variables other than during runtime.
Set myCompositeClass = [new componentA](new componentB) results in a syntax error while it is theoretical correct.

Conclusion
I think my installation is not correct, so I had a bad week and am a bit prejudiced about my new QTP. The function viewer certainly speeds up my work, unfortunately it is implemented poorly. The problems I have with my memory and performance is probably due to the installation, on my run PCs I do not have these problems, only on my development machine (but why couldn't it be correct the first time?). The changed variable conversion and operator functionality is really not a good thing. Besides that it influences our existing tests, it is not an improvement. The remaining annoyances stays, and from a user perspective this is merely a QTP 9.6 release and not a 10 major version. I think it is time HP/Mercury will get a real competitor and we get a real choice what automated test software we can use. They are now functioning like our dutch railway system: "Use our system or don't; we don't bother".

3 comments:

Percy Bell said...

QTP11 is out now. It doesn't fix alot of your issues but it does include a few new ones like object recognition based off of proximity to other objects and other stuff. If you have a current support contract you can download it and install it.

Bas M. Dam said...

Hi Percy, thanks for your comment. I know, QTP11 does have 'even more' features. Alas, the company I work for right now is a bit sluggish with updates. Understandable as the IT department supports thousands of employees, but it doesn't ease my work. I'll keep you posted if things get better (or worse).

Anonymous said...

You might enjoy AutoIt from the sound of how you use QTP.