What is Business Process Testing (BPT)

QTP’s Business Process Testing feature, also known as BPT, has been available for some time.

For those of you who are not familiar with Business Process Testing, it’s basically a HP methodology that allows you to create many test components that you can mix and match in Quality Center to create multiple business process tests.

The feature also affords you the ability to pass data between each component in a test. (For a quick overview be sure to check out my BPT in a Nutshell video.) This feature is now also available in Service Test 11.20.

What version of Service Test or UFT do I need?

In the first release of HP Service Test VTD 11.0 (now called unified functional testing), the ability to create a Service Test BPT was not an option.

With the latest release, the functionality to create business components has been added. FYI: even if you don’t plan on using BPT with Service Test HP, I highly recommend that you get the latest version (11.20), since it fixes many critical bugs.

How do I create a Business Component in ST or UFT?

Following is a quick overview on how to create a Service Test. For this example, I’ll be using the Sample Application that came with ST.

Start the HP Sample Application

Create a Business Component in ST or UFT

Import the GetFlights operation

In the “Create New Test” dialog select a location in QC’s Components directory to save your component to. I’m naming mine getFlights.

Time to create out Business Components Parameters

Sweet you just created your first Service Test Business Component!

Awesome now that we have business component lets go into Quality Center and create a Business Process Test to run

Create a business process test in Quality Center ALM

Almost done – Lets run it and see what happens.

If everything goes well the test should pass. Lets look at the results.

Looking at the Service Test business component test’s run results in Quality Center

Cool

That’s it for my quick Service Test BPT example –Hope it helped!