Geeks Talk

Prepare for your Next Interview




Smart Identification

This is a discussion on Smart Identification within the Testing Issues forums, part of the Software Testing category; Hi guys! Can any one tell me whats Smart Identifications in QTP and how is it done ? thanks in advacne...


Go Back   Geeks Talk > Software Testing > Testing Issues

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-13-2006
Expert Member
 
Join Date: Apr 2006
Location: India, Hyderabad
Posts: 129
Thanks: 19
Thanked 41 Times in 17 Posts
bvani is on a distinguished road
Thumbs up Smart Identification

Hi guys!

Can any one tell me whats Smart Identifications in QTP and how is it done ?

thanks in advacne
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-27-2006
Junior Member
 
Join Date: Dec 2006
Location: Hydarabad
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
vinayrudhra is on a distinguished road
Re: Smart Identification

Smart i dentification is a method of identifying objects in QTP.
The object consist of many number of properties and the tool can not require my propertis of an obect. If some problem to idebntify an object by
the tool, the tool can choose this option to identify an object. It will occure in rare cases.
Reply With Quote
  #3 (permalink)  
Old 02-15-2007
Junior Member
 
Join Date: Feb 2007
Location: USA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sirisha_ravis is on a distinguished road
Re: Smart Identification

Smart identification is used to identify the objects.

Object Identification is done in 3 ways.
1)Ordinary brain of QTP
a)Mandatory properties
b)Assistive properties
OR
2)Smart brain of QTP
a)Base filter properties
b)Optional filter properties
OR
3)Ordinal Identifier

Generally,during the exection time,it firstly identifies the Ordinary brain.If it does not identify the objects using the ordinary brain,it uses the Smart brain.If its still not able to identify any objects,then only it will use the Ordinal identifier.Usually smart brain will be disabled.
Reply With Quote
  #4 (permalink)  
Old 02-29-2008
Junior Member
 
Join Date: Feb 2008
Location: Bangalore
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sreenivasa.nandam is on a distinguished road
Re: Smart Identification

Smart Identification is the least level object identification mechanism in QTP.
Reply With Quote
  #5 (permalink)  
Old 02-29-2008
Junior Member
 
Join Date: Feb 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
monikasangwan is on a distinguished road
Re: Smart Identification

Object identification:

QTP will identify the object in the following manner during the running.
It will understand 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.

Mandatory properties.

Assistive properties.

Base filter properties.

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.

Last edited by monikasangwan : 02-29-2008 at 07:44 AM.
Reply With Quote
  #6 (permalink)  
Old 02-29-2008
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 512
Thanks: 1
Thanked 53 Times in 45 Posts
sutnarcha is on a distinguished road
Re: Smart Identification

Very well put... applaud-able efforts from monikasangwan
__________________
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.

-sutnarcha-
Reply With Quote
  #7 (permalink)  
Old 03-03-2008
Junior Member
 
Join Date: Feb 2008
Location: Bangalore
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sreenivasa.nandam is on a distinguished road
Re: Smart Identification

Pls go through the attachment for better understanding - Smart Identification
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Issues


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Smart Answer Needed sripri Interviews 1 07-29-2006 04:14 PM


All times are GMT -4. The time now is 08:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved