Smart Identification - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Smart Identification (/Thread-Smart-Identification--4528) |
Smart Identification - asisha - 03-09-2011 Hi, Please explain about smart identification in QTP. And also difference between baseline filters and optional filters Regards, Asisha Moderator Note: Here is a complete Guide on Object Identification, Smart Identification and More RE: Smart Identification - tarun - 03-10-2011 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. RE: Smart Identification - asisha - 03-10-2011 Hi, Thanks tarun. But I need something extra about smart identification. can you....? regards Asisha RE: Smart Identification - tarun - 03-11-2011 Can you put a more specific question. I will try to answer. RE: Smart Identification - Rohan - 03-11-2011 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) |