HP’s Business Process Testing (BPT) in a Nutshell

QC/ALM Published on:

I was asked to give a Business Process Testing demo this week.

To prepare, I created some simple graphs and a video that I thought might be helpful for visualizing some core BPT concepts.

I believe that sometimes a graphic or video is the most effective way of conveying an abstract idea. Here are the graphs I created, along with a high-level outline of what each graph represents. I hope you find them helpful.

Is BPT separate from QTP?


One of the questions I'm asked most often when giving a demo for BPT is: “Is BPT a different functional tool then QTP?” The answer is, not really. I think of BPT as an extra layer that wraps around QTP and uses QC as a user-friendly interface for test automation creation that, in theory, is meant to make testing easier for non-technical users.

What is a BPT made of?


The two main elements that make up a BPT are not much different than a QTP test:

  • Object Repositories

The first step in creating business components is the same step you would begin with for QTP — that is, to create an Object Repository — exactly like you would with QTP.

  • Function Libraries

After you have your OR setup, you would normally create a function library which contains common functionalities that are frequently used against your application.

What's new to BPT is the concept of an Application Area.

What is an Application Area?

So — once you have your test resource setup (like your OR and function library), the next step is to bundle all the resources into an application area. The application area provides a single point of maintenance for all elements associated with the testing of a specific part of your application. Typically, you should define separate application areas for each portion of your application and associate a component with the appropriate application area.

BPT Components

Business components are the reusable, easy-to-maintain building blocks of a business process test — kind of like Legos. These components are usually made up of one or more steps that perform a specific task in your application.

Building a Business Process Test 

Once your components are created, A Quality Center business user who is using a QC visual interface can create a test. The components can be by strung together by dragging and dropping them into QC's test plan test area. Once they're in the test plan, each components test data is exposed and easily changed.

BPT Getting Started Video

BPT Overview In this video, I cover HP's Business Process Testing. Business Process Testing, also know as BPT, is comprised of a number of components, and these components are the building blocks of a test. Components are reusable actions or modules that perform a specific task(s) in an application.

BPT Example

In my application, I have actions like login, logout, new appointment, and a new registration. All of these would be considered “components.”
A new business process test would involve taking these components and stringing them together to create the functionality needed for a test.
All this is done within Quality Center.

Build once use many times

Due to their reusability, the same components can be used in multiple business process tests.

BPT In a nutshell

In a nutshell, BPT is just a fancy UI wrapper for QTP that makes it easy for non-technical people to work with automated tests within Quality Center without having any particular knowledge of QTP or coding.