Answer Posted / raju
QTP uses smart identification to recognize the objects
those are not recognized with mandotary properties of the
object.
Smart Identification is nothing but an algorithm used by
QTP when it is not able to recognize one of the object. A
very generic example as per the
QTP manual would be, A photograph of a 8 year old girl and
boy and QTP records identification properties of that girl
when she was 8, now when
both are 10 years old then QTP would not be able to
recognize the girl. But there is something that is still
the same, that is there is only one girl in
the photograph. So it kind of PI (Programmed intelligence)
not AI.
When should i use SMART Identification?
Something that people don't think about too much. But the
thing is that you should disable SI while creating your
test cases. So that you
are able to recognize the objects that are dynamic or
inconsistent in their properties. When the script has been
created, the SI should be enabled,
so that the script does not fail in case of small changes.
But the developer of the script should always check for the
test results to verify if the SI
feature was used to identify a object or not. Sometimes SI
needs to be disabled for particular objects in the OR, this
is advisable when you use
SetTOProperty to change any of the TO properties of an
object and especially ordinal identifiers like index,
location and creationtime.
For more information go thru this link
http://mercuryquicktestprofessional.blogspot.com/2006/11/how
-qtp-identifies-objects-complete.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain different type of event trigger option.
How can you identify the browser and its information using QTP script?
What is action? How many types of actions are there in qtp?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
how will you check how many members visited the website www.infosys.com?
How to create runtime property for an object?
What are the various automation frameworks available in qtp?
Can we record an application running on a remote machine using qtp?
How to check which add-ins are associated with a test in qtp?
Explain actions in qtp ?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
Explain the features and benefits of quick test pro(qtp)?
How to add verification steps to tests?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Define Error Pane of UFT?