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



Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a ..

Answer / vinod

can u please explai with an example plss

Is This Answer Correct ?    0 Yes 3 No

Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a ..

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

Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a ..

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

Post New Answer

More QTP Interview Questions

How do you connect to database ,What is the script to connect DATA BASE?

2 Answers   Nokia,


1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?

4 Answers  


How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

0 Answers  


In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?

2 Answers   Oracle,






Among the 4 capture levels, Complete, Partial, Minimal, None. which one is mostly used?

1 Answers  


WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

9 Answers   CTS,


How do you create new test sets in td?

0 Answers  


What are the trigger events in qtp?

0 Answers  


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

0 Answers  


tell me QTP standards ?plz

0 Answers   Kanbay,


Categories