Hi! Using Descriptive Programming How do we get Parent
object for an object. Say, i want to get a parent object
for a "Link" in a web page. thanks
Answers were Sorted based on User's Feedback
Answer / k. chandra sekhar
a) 1st use the object spy with help of the object spy
collect the all properties and method and path of the links
also that objects
b) Based on the above information prepare to the descriptive
program
c) It not get what is the parent object and what are child
objects study
d) Based what you get information try to write the script
e) Other wise once recording the parents object to every
child object
f) Now study the all script then you get the good script
K.Chandra Sekhar
Senior Software Test Engineer,
XYZ Company in Hyderabad
I am taking the live project class for test projects and how
to success the interval panel Ph 91-9951458189.
(Please call only 10 AM to 3 PM)
| Is This Answer Correct ? | 0 Yes | 15 No |
Answer / v.sateesh kumar
Using object spy we can find the hirearcy.when u click on
the link using object spy, u can view the hirearchy(parent
i.e,browser and other child objects)
| Is This Answer Correct ? | 0 Yes | 18 No |
How to find the path of folder in which the test is saved in qtp?
anyone can explain about "Hybrid framework" in QTP
How will you find the current time of the remote machine using QTP script?
How do you connect to database ,What is the script to connect DATA BASE?
Once the Actions are splitted , is there any way to merge them
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
what is the difference between testing and debugging?
what is review
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
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.
Is there any option in QTP to add Java add-in after instaling the QTP?