what is smart identification in qtp? pls any give details?
thanks in advance
Answers were Sorted based on User's Feedback
Answer / raju
Smart Identification : Its a mechanism provided by Quick
Test to identify dynamic bjects whose properties are
changing time to time....( Say a Submit button changes to
Save after clicking once)
Now the test property of that button is changed.If we
generate the script statement
Window("windowname").dialog("dialogname").winbutton
("submit").click
beacuse submit button is no more available in window
Generally Object Identification is done using the physical
description (Mandatory and Assistive properties) of that
object in the object repository.
But If we want to enable Smart Identification we have 2
ways.
1) enable Smart Identification for Object class
2) enable Smart Identification for a single Object
If we want to enable Smart Identification for entire object
class
Go to Object Identification---> select the environment--->
select the object class---> check the enable smart
identification checkbox in object Identification dialog
If we want to enable Smart Identification for a specific
object
Go to Object Repository---> select the environment--->
select the object class--->select the object---> check the
enable smart identification checkbox in object Repository
dialog
And we should select the Base Filter and Optional filter
properties for the selected object class/object.
When we enable this smart Identification Quick Test will
try to locate the object based on these properties only.
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / laxmi
do u know mandatory and assesstive properties. when qtp is
unable to recognize an object by using above properties we
will enable smartidentification.by using this qtp
definitely identifies the object.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / uday kumar_anem
QTP identifies the objects in the application with some of
mandatory properties and assistive properties. If the object
changes with these properties, then QTP fails to recognize
the object in the application.
If any such object exists, then we can make enable the Smart
Identification to that object class.
If Smart Identification is enabled for the object class,
then QTP ignores the learned descriptions from the
application, and uses the mandatory and assistive properties
configured to that object class. It learns all the
properties configured in mandatory and assisitive properties.
| Is This Answer Correct ? | 2 Yes | 3 No |
What is the Major difference between QTP ; LoadRunner? If u want to test an 1. erp module which automation tool you would prefer and why? and 2. for web application, which tool and why?
What are the different properties of an web object
How to export data present in Datatable to an ".xls" file?
How can you close the second opened browser?
4. How u will open the build automatically in QTP except using Systemutil.run command
what is the use of VIRTUAL OBJECTS? explain ?
10 Answers ABC Infotech, IBM, TCS,
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???
How do you script a nested loop in QTP? I am showing a snipet of my code. Any suggestions to help me get this to work would be great appreciated! STEP A - Customer Number: No loop - ISBN: Loop STEP B - Customer Number: Loop - ISBN: Nested Loop Here is the code I am using now. I am using i for the loop and j for the nested loop in STEP B of my script. =========================================== 'CREATE AN ADDITIONAL CUSTOMER Dim myNum, RowNum, RowCnt2, val2, total, i DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" RowCnt2 = DataTable.GetRowCount i = 1 DataTable.SetCurrentRow(i) ' Set row to one Do while Not i > RowCnt2 i=i+1 DataTable.SetNextRow MsgBox Datatable.Value("Customer_Num") Msgbox i Msgbox RowCnt2 If Not i > RowCnt2 then val2=datatable.Value("Customer_Num","Global") OracleFormWindow("Sales Order").SelectMenu "File->New" OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").Enter val2 End If 'CREATE SECOND ISBN LIST DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" Dim j, RowCnt3, val3 RowCnt3 = DataTable.GetRowCount For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) ' datatable.getSheet("DataTable").setNextRow If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then j = j - 1 Exit For End If Next 'Define ISBN rows If RowCnt3 <> j Then RowCnt3 = j End If 'Loop through ISBN rows For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) val3 = Datatable.Value("ISBN","Global") msgbox j If j = 1 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter val3 else If j < 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).Enter val3 else If RowCnt1 => 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").InvokeSoftkey "DOWN" OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").Enter val3 end if end if End If Next 'EXIT APP msgbox i loop Browser("Browser").Page("Oracle Applications 11i").Sync Browser("Browser").Close ========================================== It isn't working correctly in my nested loop in STEP B (for ISBN). Any ideas?? Thanks! SBsteve
Explain the difference between smart identification and object identification withn clear example. please it is very urgent
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
How to customize checkpoints with parameters?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?