You are on page 1of 4

What is a Quality Center Project?

A Quality Center project is a database for collecting and storing data relevant to a testing
process. For QuickTest to access a Quality Center project, you must connect to the local
or remote Web server where Quality Center is installed.
When
o
o
o
o
o
o
o
o
o

QuickTest is connected to Quality Center, you can:


Create tests and save them in your Quality Center project.
View your QuickTest test scripts.
Run your tests and view the results in Quality Center.
Associate tests with external files stored in the Test Resources module of a Quality
Center project.
Associate external files for all tests or for a single test.
Take advantage of all of the features provided with the Resources and
Dependencies model.
Use the QCUtil object to access and use the full functionality of the Quality Center
OTA (Open Test Architecture).
Use the TDOTA object in your QuickTest automation scripts to access the Quality
Center OTA.
Report defects to a Quality Center project either automatically as they occur, or
manually directly from the QuickTest Run Results Viewer.
Template tests serve as the basis for all QuickTest tests created in Quality Center.
A template test is a QuickTest test that contains default test settings.
In addition to default test settings, a template test can also contain any
comments or steps you want to include with all new QuickTest tests created in
Quality Center.

How to Work with Tests in Quality Center

The security settings in the following operating systems may prevent you from
connecting to a Quality Center project: This can occur when the UAC (User
Account Control) option is set to ON, and you have never connected to a Quality
Center project
To connect to Quality Center for the first time, you must disable the UAC option.
After you successfully connect to Quality Center, you can turn the UAC option on
again.
To enable QuickTest to connect to a Quality Center project:
Windows Vista
Windows 7
Windows Server 2008
Windows Server 2008 R2
1 Log in as an administrator.
2 From the Control Panel, select User Accounts > Change Security Settings, and
clear the Use User Account Control (UAC) to help protect your computer check
box.
3 Connect to Quality Center, as described in "HP ALM Connection Dialog Box"
4 Select the Use User Account Control (UAC) to help protect your computer check
box and click OK to turn the UAC option on again.
For Microsoft Windows 7 and Windows Server 2008 R2:
1 Log in as an administrator.
2 From the Control Panel, select User Accounts > User Accounts > Change User
Account Settings.
3 In the User Account Control Settings window, move the slider to Never notify.
4 Connect to Quality Center, as described in "HP ALM Connection Dialog Box"
5 In the User Account Control Settings window, restore the slider to its previous
position to turn the UAC option on again.

Connect to a Quality Center project


o Create or open a test
o Create a template test Optional
o Create a test using a template test Optional
o Save your test in the Quality Center project
o Set QuickTest Remote Agent preferences
o Run your test in the Quality Center project
o Manage versions of your project using version control Optional
o Disconnect from the Quality Center project
You can check in the asset at any time. For example, you may want to check the asset in
every day or when you complete a task. While the asset is checked out to you, other
users can view the last checked in version of that asset in read-only mode, but they
cannot modify the asset or view your
changes until you check in the asset.

Viewing Version Control Information When Opening a Test


When you open a test from a Quality Center project with version control support, you can
view version control information for the test by clicking the Views down arrow and
selecting Details.
The Checked Out To column specifies the user name of the Quality Center user to whom
the test is checked out, if it is checked out. If the test is currently checked in to the
version control database, there is no indication in the dialog box.

How Quality Center Manages Assets


You manage asset versions by checking assets in and out of the version control database.
You add an asset to the version control database by saving it in a Quality Center project
with version control support. When you save an asset for the first time, QuickTest
automatically checks the asset into the Quality Center version control database, assigns
it version number 1, and automatically checks the asset out for you so that you can
continue working on it. When you check the asset in, the asset retains version number 1,
since this is the first version that can contain content. Then, each time the asset is
checked out and in again, the version number increases by 1.

Adding Assets to the Version Control Database in a


Quality Center Project

When you use Save As to save a new asset in a Quality Center project with version
control support, QuickTest automatically saves the asset in the project, checks the asset
into the version control database with version number 1, and then checks it out so that
you can continue working. This is
an administrative version of the asset, similar to a placeholder. The version number
indicates that the asset exists in the database. When you later check in the asset, the
version number remains version number 1the first version that you are checking in.
Subsequent checkins increase the version
number by 1. Saving your changes to an existing asset does not check them in. Even if
you
save and close the asset, the asset remains checked out until you choose to check it in.

Checking Assets Out of the Version Control Database


When you open an asset that is currently checked in to the version control database, it is
opened in read-only mode. You can review the checked-in asset. You can also run the
asset and view the results.
To modify the asset, you must check it out. When you check out an asset, Quality Center
copies the asset to your unique check-out directory (automatically created the first time
you check out an asset), and locks the asset in the project database. This prevents other
users of the Quality Center project from overwriting any changes you make to the asset.
However, other users can still run the version that was last checked in to the database.
You can save and close the asset, but it remains locked until you return the asset to the
Quality Center database. To release the asset, either check the asset in, or undo the
check out operation.

Checking Assets into the Version Control Database


While an asset is checked out, Quality Center users can run the previously checked-in
version of your asset. For example, suppose you check out version 3 of an asset and
make a number of changes to it and save the asset.
Until you check the asset back into the version control database as version 4, Quality
Center users can continue to run version 3. When you have finished making changes to
an asset and you are ready for Quality Center users to use your new version, you check it
in to the version control database.

Version Management Commands


The following version control commands are available in QuickTest and can
be used when connected to a Quality Center project that has version control

enabled:
Check Out. Enables you to check a version-controlled asset out of the version control
database.
Undo Check Out. Enables you to cancel the check out of a version-controlled asset from
the version control database
Check In. Enables you to check an asset in to the version control database.
Version History. Enables you to view or compare the versions of a particular asset.
Baseline History. Enables you to view or compare the versions of a particular asset as it
was saved in a projects baselines.

You might also like