Sunday 5 January 2014

what is the usage of integrate qtp with quality center?


HP ALM 11 or Quality Center is used as a test management tool in which we can store tests, function Libraries, test data, object repository, recovery scenario and much more.


HP ALM (HP Application Lifecycle Management) formerly known as Quality Center is a Test Management tool to manage entire Quality Assurance and testing process for an organization. Before being called HP Quality center it used to be Mercury Test Director.



How can we create a QTP Test in Quality Center?

In Quality Center, we create QTP tests in the Test Plan module. When you create a QTP
test, we apply a template test to it. We can choose either the default template test stored
on our QTP client, or a template test that is saved in our Quality Center project.

If we do not have any template tests saved in our Quality Center project, or if we choose in
the Template box, Quality Center uses the settings defined in the template test that was
installed with the QTP Add-in for Quality Center on our Quality Center client.

How to start ALM  -> http://www.softwaretestinghelp.com/learn-hp-quality-center-qc-in-4-days/

How to integrate QTP 11 with Quality Center/ALM -> http://qaautomationqtp.blogspot.in/2013/07/how-to-integrate-qtp-11-with-quality.html


What happens in case Smart Identification fails to identify the object in QTP?

What happens in case Smart Identification fails to identify the object in
QTP?

If the Smart Identification mechanism cannot successfully identify the object, QTP uses the
learned description plus the ordinal identifier to identify the object.

If the object is still not identified, the test fails and a normal failed step is displayed in the
results.



QTP object repository

QTP object repository used to store objects which QTP learns. Object repository stores logical name, property of the object and property value of the object.

Differance between Index,Location and Creation time Property

Ordinal Identifier:

Ordinal identifier have the three property

-> Index property
-> Location Property
-> Creation time property


Index property :

-> while learning object, QTP assign index value to test object. The index value starts from Zero.

-> The value is based on the order in which the object appears
within the source code. This is not based on window,frame or dialog box.

-> Index property values are object-specific. Therefore, if we use Index:=3 to describe a WebEdit test object, QTP searches for the fourth WebEdit object in the page.


Location Property: :

-> While learning an object, QTP can assign a value to the test object’s Location property to
uniquely identify the object. The value is based on the order in which the object appears
within the window, frame, or dialog box, in relation to other objects with identical
properties.

-> The first occurrence of the object is 0. Values are assigned in columns from top to bottom, and left to right.

-> if we use Location:=3 to describe a
WinButton test object, QTP searches from top to bottom, and left to right for the fourth
WinButton object in the page


Creation time property :

->  It is applicable for Browser Object only.

-> This is used only for browser objects. In case 2 browsers with similar properties exist, then the one that is created first and next are considered.

-> For example, if we record a test on three identical browsers that are opened at
9:01 pm, 9:03 pm, and 9:05 pm, QTP assigns the CreationTime values, as follows:
CreationTime = 0 to the 9:01 am browser, CreationTime = 1 to the 9:03 am browser, and
CreationTime = 2 to the 9:06 am browser.