Business Process Testing is a role-based testing model. It enables
non-technical Subject Matter Experts (working in Quality Center) to collaborate
effectively with Test Automation Engineers (working in QuickTest Professional).
Together, you can build and run business process tests, without requiring
programming knowledge on the part of the Subject Matter Expert
Subject Matter Experts understand the various parts of the application
being tested, as well as the business processes that need to be tested, however
they may not necessarily have the programming knowledge needed to create
automated tests
Automation Engineers are experts in Test Automation. They use QuickTest
to define the resources and settings needed to create components, which are the
building blocks of business process tests.
Integration between QuickTest and Quality Center enables the Automation
Engineer to effectively create and maintain the required resources and
settings, while enabling Subject Matter Experts to create and implement business
process tests in a script-free environment, without the need for programming
knowledge.
It is the collection of resources and settings that are used for the
creation and implementation of business components. These include function
libraries, shared object repositories, keywords, testing preferences, and other
testing resources, such as recovery scenarios.
An application area provides a single point of
maintenance for all elements associated with the testing of a specific part of
your application. You can define separate application areas for each part of
your application and then associate your components with the appropriate
application areas. The component is always associated with a particular
application area, enabling it to access these settings and resource files
It’s the place which is used to create, populate, and maintain shared
object repository files that are used by QuickTest to identify the objects in
the application. It is allowed to define and modify test object information in
shared object repositories using the QuickTest Object Repository Manager. After
associating shared object repository files with the application area, can
prioritize them according to relevance. By associating a shared object
repository with an application area, any component based on that application
area will have access to all of its test objects and other elements.
Each object repository contains the information that enables QuickTest
to identify the objects in your application. QuickTest enables to maintain the
reusability of the components by storing all the information regarding the test
objects in a shared object repository. When objects in an application change,
the Object Repository Manager provides a single, central location in which we
can update test object information for multiple components
The same shared object repository can be used with multiple components.
Also use multiple object repositories within each component. In addition,
objects can be saved directly with a component in a local object repository.
This enables to be accessed only from that component.
If one or more of the property values of an object in your application
differ from the property values QuickTest uses to identify the object, the
component may fail. Therefore, when the property values of objects in an
application change, should modify the corresponding test object property values
in the corresponding object repository so that you can continue to use the
existing components. Can modify objects in a shared object repository using the
Object Repository Manager, as described in this section
We can create function libraries that contain functions, or operations
(also known as keywords), that can be called by a component. These functions
contain programming logic that encapsulates the steps needed to perform a
particular task, and they enhance the functionality of the component that calls
them. We can use QuickTest to create these function libraries. We can also use
the QuickTest Function Definition Generator to insert basic function
definitions, and then complete each function by adding its code.
After associating function library files with an application area, can
prioritize them according to relevance. By associating a function library with
an application area, any component based on that application area will have
access to all public functions defined within that function library.
Unexpected events, errors, and application crashes during a run time
can disrupt your run session and distort results. This is a problem
particularly when tests run unattended—the test pauses until you perform the
operation needed to recover. To handle situations such as these, QuickTest
enables you to create recovery scenarios and associate them with application
areas. Recovery scenarios activate specific recovery operations when trigger
events occur.
Components are easily-maintained, reusable units that perform a
specific task. They are the building blocks of business process tests. Each
component is comprised of several application steps that are logically
performed together in a specific order. By design, each component tests a
specific part of an application. When combined, components are incorporated into
a business process test in a serial flow representing the main tasks performed
within a particular business process. Due to the modularity and reusability of
components, they can be used in multiple business process tests
There are 2
types of components


Business components (also known as keyword-driven components) are fully
integrated with both QuickTest and Quality Center, enabling both you and
Subject Matter Experts to create, modify, and run them. It has only Keyword
view in Quick Test Professional
In the Keyword View, business components are divided into steps in a
modular, keyword-driven, table format. Each step is a row that comprises
individual parts that you can easily modify. You create and modify steps by
selecting items and operations and entering additional information, as
required.
Each step in a business
component is automatically documented as you complete it. This enables you to
view a description of the step in understandable sentences. In addition, if you
added a function library to the application area associated with the business
component, when you define a step by selecting a user-defined operation
(function), the documentation that you added in the function library will be
displayed for the step
Scripted components have both views such as Keyword view and Expert view
in Quick Test Professional. You can also incorporate user-defined functions in
the scripted component steps, parameterize selected items, and add checkpoints
and output values to the scripted component.
Subject Matter Experts working in Quality Center can then include these
scripted components in business process tests to check that the application
behaves as expected.
After creating a scripted component, Subject Matter Experts can view
the auto-documentation generated by the component (read-only) in the Business
Components module of the Quality Center project. They can run the scripted
component and add it to their business process tests, but one remain
responsible for maintaining the scripted component in Quick Test.





A scenario
comprising a serial flow of business components, designed to test a specific
business process/test case of an application.
Below are the
steps to be followed to create a Business Component
1. Connect to QC from QTP
2. Creation of Object Repository in QTP
3. Creation of Recovery Scenarios in QTP
4. Creation of Function Library in QTP
5. Creation of Application Area in QTP
a. Associate Recovery Scenarios
b. Associate Function Libraries
c. Associate Shared Object Repositories
6. Creation of Business Component in QTP
Below are the
steps to be followed to connect to QC from QTP.









![]() |










Click on





















Create new
application area from the following path
File -> New
-> Application Area or Press Ctrl + Alt + N.
































Different Views
Coding can be done
is 2 views.


Expert View


Keyword View


Below are the
steps to be followed for creating Business Components in QC.


























Before start
execution from QC center we need to check the following setting in QTP






























In Order to view Test results in QC we need to install Quick Test
Professional Add-in from Quality Center Add-In page





0 comments :
Post a Comment