In this blog post, I have posted an important flowchart which explains Object Identificaion Process Workflow of HP QTP. Every QTP automation engineers needs to aware how QTP identifies objects during run-time. Below is the workflow of object identification process.
Object Identification Process Workflow in QTP FlowChart
[auto_thumb width=”250″ height=”250″ link=”” lightbox=”true” align=”left” title=”Object Identification Process Workflow in QTP” alt=”Object Identification Process Workflow in QTP” iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/01/Object-Identification-Process-Workflow-in-QTP.png[/auto_thumb]
To identify an object successfully, QTP utilizes maximum of four stages.
1. Description Properties
2. Visual Relation Identifiers
3. Smart Identification
4. Ordinal Identifiers
First QTP tries to identify objects using descriptive properties, if it several/one matches are/is found, then it tries to match objects using Visual Relation Identifier.
If one match is found using Visual Relation Identifier, then the object is identified. If several/none match found, QTP tries to identify objects using Smart Identification.
If match is found using Smart Identification, then the object is identified. If several/none match found, QTP tries to identify objects using Oridial Identifier.
If one match is found, then the object is identifies, else object identification is falied.
Thanks for visiting QAInsights!
We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.
Image Courtesy: HP QTP Documentation
- Unboxing HPE LoadRunner 12.55 - August 20, 2017
- Measure Client-side Performance using Lighthouse - August 10, 2017
- Perf Calculator – free iOS app for performance testers - July 16, 2017
- How to performance test AngularJS or ReactJS applications? - June 25, 2017
- How to run Apache JMeter tests with Visual Studio Team Services? - June 6, 2017