Wht is Smart Identification Mechanisam in QTP..Actually
when do we this Technology means during Recording or running
....how is technology works. Anybody can expalin
this .....Thanks in advacne

Answer Posted / parusuram challa

Object identification:
QTP will identify the object in the following manner during
the running.
It will under stand the script statement.
Then it releases that it needs to from some action on some
object, for that it needs some information about that
object.
For that information it will go to the object repository
and get the information from their.
With that information it will try to identify that object.
If it all the object is identified it will perform action
on that object. Here the information means object
properties.
And now the question is that how it is learning those
properties, to identify the objects.
This is the point where every one thinking his one style,
but the fact is that. That the process of learning is like
this.
There are two types of object identification that QTP
normally uses apart from the ordinal identifiers.
In general there are four types of properties that QTP
having.
1. Mandatory properties.
2. Assistive properties.
3. Base filter properties.
4. Optional filter properties.
And ordinal identifiers like location, index and creation
time.
As I told that QTP will be using two types of object
identification.
The first one is normal identification.
In this identification the learning of the properties will
be in the following way.
First the QTP will learn all the mandatory properties at a
time. And with these properties it will try to identify the
object if at all it feels these properties are sufficient
to identify the object uniquely, and then it will stop
learning and use those properties. If at all it feels these
properties are not sufficient to identify the object
uniquely, then it will learn the first assistive property.
And try to identify the object with those properties
(mandatory and first assistive property), if at all it
feels that these properties are sufficient to identify the
object uniquely then it will stop learning and use those
properties to identify the object. If it feels these
properties are not sufficient to identify the object
uniquely. Then it will learn the second assistive property
and repeat the same process till it identify the object
uniquely. If at all it fails to identify the object
uniquely by using all these properties also. Then the
ordinal identifiers come into picture. This is the process
QTP identifies the objects when the smart identification is
disable.
The second type of identification is smart identification.
In the process QTP will be learning all the mandatory, base
filter properties and optional filter properties at time.
But the identification process is as follows.
If you invoke the smart identification then also first QTP
will try to identify the object by using normal
identification process. That is the above process apart
from the ordinal identifier. Now it will not use the
ordinal identifiers. If the normal identification fails
then it will come to the smart identification. And forget
about the normal identification also all those properties
learnt in the normal identification. And now it will using
all the base filter properties at time and tries to
identify the object uniquely. If at all it feels that these
are sufficient then it will use these properties to
identify the object uniquely. Otherwise take the first
optional filter property and same process will continue as
above till the object is identified uniquely. If at all the
smart identification is also fails then it will go to use
the ordinal identifiers. This the actual process of
identification. If we have any questions regarding this
please go head and send me the e-mail tome or directly you
can contact me. only in the mentioned hours only.(8.00 PM
TO 8.00AM)

Parusuram challa,

pramchalla@gmail.com

(+91)9822769949

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to suppress warnings from the test results page?

601


Can I change properties of a test object?

625


Explain features of the latest version of qtp/ uft 12.1?

606


how interviews will be on QTP?

1519


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1488






Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3012


what testplan contents and what test strategy contents,what is the diff b/w them

1649


What are the Disadvantages of shared object repository?

571


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1901


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1422


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1743


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1657


Explain in brief about the quicktest professional automation object model?

515


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1498


if our qtp vb Script may be Currepted then What we want do?

1485