What is creation time property and how does it work?
Answer Posted / siva reddy(us)
During recording, if QuickTest is unable to uniquely
identify a browser object based solely on its test object
description, it assigns a value to the CreationTime test
object property. This value indicates the order in which
the browser was opened relative to other open browsers with
an otherwise identical description.
During the run session, if QuickTest is unable to identify
a browser object based solely on its test object
description, it examines the order in which the browsers
were opened, and then uses the CreationTime property to
identify the correct one.
For example, if you record a test or component on three
otherwise identical browsers, opened at 9:01 pm, 9:03 pm,
and 9:05 pm, QuickTest assigns the CreationTime values 0 to
the 9:01 pm browser, 1 to the 9:03 pm browser, and 2 to the
9:05 pm browser.
At 10:30 pm, when you rerun your test or component, suppose
the browsers are opened at 10:31 pm, 10:33 pm, and 10:34
pm. QuickTest identifies the 10:31 pm browser with the
browser test object with CreationTime = 0, the 10:33 pm
browser with the test object with CreationTime = 1, and the
10:34 pm browser with the test object with CreationTime =
2.
Ref QTP help for more details
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is the synchronization point in qtp?
can test automation improve test effectiveness?
How many types of actions are there in quicktest professional (qtp)?
What is QTP’s model for test creation?
Differences between text and test area checkpoints?
What the differences are and best practical application of Object Repository?
What is the difference between a Function and Procedure in QTP?
give me the code to save all messages of inbox of gmail into a folder and notepad
What is output value? How many types of output values are there in qtp?
How do Parameterization and Data-Driving relate to each other in QTP?
what frame work you are following?
What are the advantages of a Hybrid framework?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
For the below written code , i want to be stop the loop (ex:10 times), but it is focusing to first line of the code & generating error. vbwindow("vbname:=frmMain").Type micAltDwn + "6" + "2" + "D" +micAltUp 'wiil open the particular window in application vbwindow("vbname:=frmDeduction").vbbutton("vbname:=cmdNew").Click DataTable.ImportSheet"F:\QTP VBScript\Form 26-1.xls","Deduction",Global RowCount = DataTable.GetSheet("Global").GetRowCount i=RowCount For j =1 to i 'vbwindow("vbname:=frmDeduction").WinObject("nativeclass:=DataComboWndClass","abs_y:= 187").Type DataTable("Name", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type DataTable("Name", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type micTab vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type DataTable("Section", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type micTab vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtOfPay").Set DataTable("Amount_of_Payment", dtGlobalSheet) vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtPaidDate").Set DataTable("Amount_PaidCredited_Date", dtGlobalSheet) vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtPaidDate").Type micTab vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type DataTable("Deduction_is", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type micTab vbwindow("vbname:=frmDeduction").VbButton("vbname:=cmdSave").Click DataTable.SetNextRow Next vbwindow("vbname:=frmDeduction").VbButton("vbname:=cmdClose").Click
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?