Smart Identification Examples, What is smart Identification And Why Smart Identification is used



Smart Identification Examples, What is smart Identification And Why Smart Identification is used


What is smart Identification?
Normally, The Test will fail if even one of the onscreen object property will not match with property of recorded object.
Smart identification of QTP doesn't provide an error if the value of property don't match, but use Optional Filter and Base filter properties to identify the object uniquely. So if Smart identification, if value of property doesn't match the script Then it does not fail but it can proceed forward to analyze the next property. Smart identification can be activated in Dialog box of Object Identification.
Smart Identification is like an alternative mechanism for QTP which is used to identify the object during the run-time when the property description are not capable to identify the unique object.


Why Smart Identification is used → Note:
  1. During Run-time only → Smart identification is used
  2. When Assistive and Mandatory properties are not enough Then only Samrt Identification will be used.
  3. QTP will use ordinal identifier when Smart Identification will also fail or will not be sufficient.
  4. Smart Identification have the following main Steps:-
    i. Configure and Enable or Active the Smart identification.
    ii. Object to Object repository need to added with the value of Smart Identification property
    iii. During Run-Time Smart Identification need to use.


Configuration and Enable the Smart Identification Steps:


  1. Go to 'Tools Object', Now just choose the mandatory QTP Object i.e. WinButton
  2. Now Check 'Enable smart Identification' Checkbox, Click on Configure, Now Add the 'Base filter Property' and finally Optional Filter Property' Click on Ok And Again click ok


Note: Static property need to add to Dynamic properties and Base filter section to optional filter .
Adding Object to Object Repository with Smart Identification Values and Property:
  1. Open the Object Repository (Ctrl + R)
  2. Click on Add object on the Local and Then Click on Mandatory Object in the application, Now click on OK for object selection. It used to ensure that Activate Smart Identification is the true for additional details sections of any objects reporitories.
Note: No alternative is present in object repository to view Smart Identification value and properties.

When you will add objects to objects repository (Recording), Then QTP will try to identify it with the help of required properties if not then assistive properties one by one or else ordinal identifier after this, Then it will read all base filter properties and optional filter properties with out checking any condition


Why Smart Identification is used

Smart Identification Examples
Smart Identification Examples






Advantages and Disadvantages of Automation Testing













Virtual Objects with Example in QTP
Cross Platform Testing


What is Object Spy in QTP Ordinal Identifiers Alone can Make an Object Unique



Test Automation Frameworks Types



No comments:

Post a Comment

Popular Posts