how can you write a script without using GUI in QTP?
Answers were Sorted based on User's Feedback
Answer / naveen
We can Write the Script using without Object repositiory or
GUI objects, that is "Discriptive Programming" here we can
define an object with all properties.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / raveendra
without using GUI,Using descriptive progroming u can write
the scripts
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / s
Discriptive Programming
Sorry. the spelling is Descriptive programming.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / gs
Even in descriptive programming we will be using the gui,
but only the difference is usage. so the question itself is
wrong
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sree
We can write script once if we define all the objects
descriptions in a notepad....but while executing GUI is
mandatory.
Is This Answer Correct ? | 0 Yes | 0 No |
What is throw object?
difference Between Call Run action and copy of action?
WHICH functionalities of QTP used in Banking project?
Is it possible to call out to Java from QTP?
Explain what the difference between Shared Repository and Per_Action Repository
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......
Suppose there is a link present somewhere in an excel sheet. Find the link and click on it. How to write a script using Excel application object in QTP?
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting
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
what is virtual object?
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.