Posts: 37
Threads: 0
Joined: Jan 2011
Reputation:
0
03-10-2011, 12:32 AM
smart identification is used when QTP is unable to identify an object uniquely using the mandatory and assistive properties. In smart identification, QTP takes a candidate list (list of objects that may be the run time object on which QTP has to perform operation) and applies the base properties sequentially. If it is able to find a unique object using the base properties then it does not use the optional properties but if even after using base properties it is unable to identify an object uniquely then QTP uses the optional properties.
Posts: 9
Threads: 7
Joined: Mar 2011
Reputation:
0
03-10-2011, 02:28 PM
Hi,
Thanks tarun. But I need something extra about smart identification.
can you....?
regards
Asisha
Posts: 37
Threads: 0
Joined: Jan 2011
Reputation:
0
03-11-2011, 12:19 AM
Can you put a more specific question.
I will try to answer.
Posts: 14
Threads: 1
Joined: Jan 2011
Reputation:
0
03-11-2011, 10:28 AM
When Quick Test uses the learned description to identify an object, it searches for an object that matches all of the property values in the description. In most cases, this description is the simplest way to identify the object, and, unless the main properties of the object change, this method will work.
If Quick Test is unable to find any object that matches the learned object description, or if it finds more than one
object that fits the description, then Quick Test ignores the learned description, and uses the Smart Identification
mechanism to try to identify the object.
While the Smart Identification mechanism is more complex,it is more flexible. Therefore, if configured logically, a Smart Identification definition can probably help Quick Test identify an object, if it is present, even when the learned
description fails.
The Smart Identification mechanism uses two types of properties:
Base Filter Properties: The most fundamental properties of a particular test object class; those whose values cannot
be changed without changing the essence of the original object. For example, if a Web link's tag was changed from
<A> to any other value, you could no longer call it the same object.
Optional Filter Properties: Other properties that can help identify objects of a particular class. These properties
are unlikely to change on a regular basis, but can be ignored if they are no longer applicable.
The below address of an example may help you understand better, if you don't have the guide ill post the example.
Smart Identification Example: (Ref. Quick Test Professional 9.0 – Help Guide)