Hi All,
I have QTP installed on my machine but the application
under test (AUT) is on remote desktop (i.e. I first connect
to remote desktop from my machine in order to run the
application). I am able to record the script successfully
with QTP running on my machine and application running on
remote. However, when i run the recorded script, system
fails to run it and indicates me that it does not identify
the object. Is it possible to record and play while QTP and
AUT are not on same machine?
Answer Posted / ravi
hi all,
My problem is bit same.
When i record the application it is recording the
application with //remote script
but when i run it it is not recognising buttons on that
application so script is failed.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
what is Property......End Property loop? how to write sript for it in QTP
Where to use Property Let, Property Get, Property Set in UFT
Difference between action & Reusable action?
How to get the particular property value?
Is qtp supports uni-code?
How will you test a stapler?
What are the recording modes in wave event?
Explain the check points in quicktest professional?
explain keyword driven framework with banking domain?
How will you test a keyboard?
Explain the concept of object repository & how qtp recognizes objects?
Is it possible to switch between recording modes during a test creation?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
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