how can you write a script without using GUI in QTP?

Answers were Sorted based on User's Feedback



how can you write a script without using GUI in QTP?..

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

how can you write a script without using GUI in QTP?..

Answer / raveendra

without using GUI,Using descriptive progroming u can write
the scripts

Is This Answer Correct ?    8 Yes 0 No

how can you write a script without using GUI in QTP?..

Answer / s

Discriptive Programming
Sorry. the spelling is Descriptive programming.

Is This Answer Correct ?    6 Yes 0 No

how can you write a script without using GUI in QTP?..

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

how can you write a script without using GUI in QTP?..

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

Post New Answer

More QTP Interview Questions

What is throw object?

1 Answers   AZTEC,


difference Between Call Run action and copy of action?

1 Answers  


WHICH functionalities of QTP used in Banking project?

2 Answers   Tarang, Wipro,


Is it possible to call out to Java from QTP?

2 Answers  


Explain what the difference between Shared Repository and Per_Action Repository

2 Answers  


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.......

1 Answers  


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?

1 Answers  


How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting

9 Answers  


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

0 Answers  


what is virtual object?

2 Answers  


How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?

1 Answers  


In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.

3 Answers  


Categories