Skip to main content

HP QTP 9.5 first impressions

I managed to get my hands on a copy of Quicktest Pro 9.5, and it appears to not be as big of a change as I expected. At least the portions of QTP that I use are mostly unchanged. It looks like most of the updates happened in the area of Object Repository and various n00b features.

The first thing that struck me as soon as I saw the default font is that HP doesn’t consider QTP a tool for programmers. Rule number one for every IDE should be that nobody wants a proportional font. At least it only took about 15 seconds to change the font to Consolas.

The next thing I did was open one of my existing 9.2 tests. After QTP prompted me to convert it to 9.5, the test ran without error. I ran our standard suite of smoke tests on 9.5. To my relief they all ran without error. I was expecting to have to do a bit of refactoring for QTP 9.5, but I seem to be spared for now.

I was curious what a few of the new features are. The marketing literature wasn’t exactly clear on some of these.

  • Process Guidance - This is little more than more accessible help files. Maybe this is good for when you are first learning to record a test, but it doesn’t seem to add much utility.
  • Maintenance Run Mode - I really thought QTP already had this feature, but it is on the new features list, so it must be new. Anyway, it is only useful for updating the Object Repository, so it won’t be getting any of my attention.
  • New QuickTest IDE Panes - This is a step in the right direction for the editor. The Test Flow pain and Keywords pane look useful if drag-and-drop test writing is your bag. For me, the most useful of the new panes is the Resources pane. It makes it easier to navigate between vbs libraries.
  • Custom Web Objects - This is the new feature with the most potential. I haven’t explored this yet, but it seems like just what we have been looking for. Basically it looks like you can define your own web object types. For instance, I could address table rows with a certain class as something like WebGridRow instead of WebElement. I can then register new methods for WebGridRow the same way that I could for other objects using registerUserFunction. I’ll have more on this when I have had a chance to use it.
It was displeasing that they have still not addressed a couple of bugs I have previously mentioned here. If QTP is on the secondary monitor, intellisense popups show up on the right side of the primary monitor. More significantly, Page.ChildObjects still won’t return hidden WebElements. I would think that these bugs are higher priority than Process Guidance and other beautifying enhancements, but HP has different priorities.

Comments

Popular posts from this blog

SQL SERVER Questions And Answers

SQL SERVER Questions And Answers 1. What is an Entity? The basic data item stored in database is called entity. An entity can be any object, item, place, person, concept, or activity about which data is stored. 2. What is an attribute? An attribute is a property of an entity. It describes a part of an entity. Entity could have one or more attributes. 3. What is ER diagram? An Entity Relationship Diagram is diagrammatic representation of the logical structure of a database system. 4. Describe the concept of keys. Candidate key An attribute that uniquely identifies a row is called candidate key. It is also called das surrogate key. Primary key A candidate key that you choose to identify rows uniquely is called a primary key. Alternate key If there are multiple candidate keys in a table, the candidate keys that are chosen as primary key are called the alternate keys. Composite key When the key that uniquely identifies the rows of a table is made up of more than one attribute, it is ca...

Testing Measurement

Someone has rightly said that if something can not be measured, it can not be managed or improved. There is huge value in measurement, but you should always make sure that you get some value out of any measurement that you are doing. You should be able to answer the following questions: What is the purpose of this measurement program? What data items you are collecting and how you are reporting it? What is the correlation between the data and conclusion? Value addition: Any measurement program can be divided into two parts. The first part is to collect data, and the second is to prepare metrics/chart and analyses them to get the valuable insight which might help in decision making. Information collected during any measurement program can help in: Finding the relation between data points, Correlating cause and effect, Input of future planning. Normally, any metric program involves certain steps which are repeated over a period of time. It starts with identifying what to measure. After t...

What’s New with QTP 9.5?

This is the general overview giving the brief description of what is new in QTP9.5 New Features: 1.  New design time panes: Various new IDE panes have been introduced which does not provide any new functionality to add up but basically the operations which were in the deep sub menus are now put up in front. Available Keyword Pane: This pane shows all the available functions in the current test (either in-action or externally added), as well as all the objects in your object repository (local and external). The items are effectively separated into groups, making it easier to search for a relevant item. Double clicking any item in the pane will open it, and dragging the item to the main window will add it to the script in the drop position. Double clicking a function will not only open the hosting file in the main window, but also focus on the exact position of the function within the file. Test Flow Pane: This pane lays out the action call structure of the current test. It outlines...