Smart Identification in UFT/QTP – User friendly Tech help

How to enable and disable Smart identification?
n

n

Scenario:- We need to capture an object(Say WebEdit) and we want UFT/QTP to uniquely identify the object but it is not able to find any unique properties to identify that, so how
ncan we go about it.
n

n

Solution:-We need to take help of Smart identification here as Mandatory + Assistive(MA) properties are not able to find any unique properties (We are also ignoring Ordinal identifier )
n
n
Enabling Smart identification for an object:-
n
nStep 1:- Tools – Object identification 
n
nStep2:- Select the Environment (In our case it is web as we need to configure
n for WebEdit) 

nn

Step3:-Select the Test Object Class – Check the “Enable Smart Identification”
n— Click “Configure”

n

Step4:- Set the Base Filter and Optional Filter properties – Click 
n“Add/Remove” 
n

nn

Step5:- Select the properties from Add/Remove Properties and Ok (We can define our new Property Also)
n

nn

Step6:-Click Ok on all screens opened, and we are done and now WebEdit will be identified smartly by UFT

n

Verify Check:- To verify that enabled object it working as pet the settings, add object to Object Repository(OR) and check under “Object Properties” ->“Additional Details”->”Enable smart identification” is coming as “True”, in case it is not enabled “Enable smart identification”(ESI) will come as disabled.
n
n Important Points:-
n
1.Incase ESI, is enabled, we can disable this option for any particular object in OR, 
nby making setting its value to “False”.

nn

2.For making this feature disabled for whole script, File->Settings->Run->”Disable Smart Identification during the Run session”
n

nn

n
n3.In point above, now UFT won’t rely on Smart identification during Run even we have 
nset this feature enabled for any Object.
n

nn

 4.In case we added any object, with ESI as Off, UFT won’t use ESI for identification
n in future, even though we have enabled it afterwords.

n

5.Taking the example of Web edit, in case we added it to OR with ESI disabled, 
nenabling it for webedit after that won’t made the already added webedit to have ESI
n enabled and it’ll come as disabled in OR. But for newly added Webedit it will be enabled
n
nObject Identification

Was this article helpful?
YesNo

Similar Posts