Archive for the 'QuickTest Pro' Category

QuickTest Pro Asset Upgrade Tool for QualityCenter 10

Keep Reading ...

My office has recently upgraded to QualityCenter 10, as several members of our team were having issues connecting to QC9 using Internet Explorer 8 with Windows XP SP3. This was as good a reason as ever to switch.
We have been automating our smoke test suite in QuickTest Pro 9.5 over the past year and have [...]

Updating ActiveX Datagrids in QTP

Keep Reading ...

In my recent testing efforts, I have comes across a desktop windows form (written in VB6) involving updating a data grid and then calculating another field’s value based on those updates. In order to achieve this functionality, the development staffs implemented two events (AfterColUpdate and LostFocus) that, when triggered, would fire off the calculation method.
None [...]

Using QTP to Connect to an Oracle Database with Instant Client

Keep Reading ...

Need a light-weight ODBC connection to an Oracle database for you QTP scripts? Oracle Instant Client is just the ticket, assuming you have Oracle version 10g for your database. Please read the information provided by Oracle to make sure Instant Client is right for your needs.

Accessing Methods of ActiveX Objects

Keep Reading ...

I have been using QuickTest Pro for several years now and have just discovered a simple, but highly useful, feature. In dealing with ActiveX controls, there are many times when the ActiveX add-in for QTP just doesn’t full recognize an application object.
Using the ObjectSpy, you can select the object in question and see all [...]

Description Objects

Keep Reading ...

When creating reusable actions in QuickTest Pro, there are times you may come across the need to dynamically access an object within your application that may or may not exist within your Object Repository. One approach to handling this opportunity is through the use of Description Objects.
I could spend a lot of time attempting [...]

QuickTest Pro – List of mic* Keywords

Keep Reading ...

Here is a list of mic* keywords that can be used in QuickTest Pro. I do not have documentation for each of the keywords. I have posted these has a quick reference guide for myself, and others.
These codes will be useful when entering text into textboxes, manipulating datagrids, selecting items for comboboxes and listboxes. Some [...]

QuickTest Pro 9.5 Object Recognition Issue

Keep Reading ...

The other day I was diligently creating reusable actions for later use and writing code like nobody’s business. I have had my object repository set up for weeks and haven’t had any issues with it. I have recently upgraded to QTP 9.5 with updated Add-ins for Visual Basic, Web, and .NET.
The application I have [...]

Using External Libraries in QTP

Keep Reading ...

I’ve found it necessary to create my own code libraries in QuickTest Pro to handle scenarios that aren’t generally covered by the typical QTP or VBScript APIs. This is a useful process for creating reusable functions that are accessible to your entire automation suite.

The Object Repository in QTP 9

Keep Reading ...

The Software Inquisition has an article about the new Object Repository interface in QuickTest Pro 9. Since the company I work is about to migrate to this version of QTP, I figured I would read up on it a bit. This article does a good bit of explaining some new features (and added headaches), so [...]

Concatenating Strings In QTP

Keep Reading ...

Today’s tech post is in response to a surprising amount of queries asking how to concatenate strings in QuickTest Pro.
First, it is important to remember that QuickTest Pro scripts are written using VBScript. With that in mind, you can investigate many corners of the internet for sample code and examples of VBScript code. Using the [...]