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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you check how many members visited the website www.infosys.com?

1672


UFT 12.02 which ALM version will support

1194


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1624


What is qtpro? What is quick test pro? What is a quick test professional?

804


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2278


Write a script to customize the test results in PDF and HTML format.

2311


Explain how you can find the absolute value of the number in qtp?

835


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1744


Have you done batch testing in qtp? If yes how you are doing?

694


What is the syntax to call one script from another?

775


How to handle the exceptions using the recovery scenario manager in qtp?

767


What is the meaning Work bench?

1954


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3726


how to find that tools work well with ur existing system?

1632


Discuss the QTP Environment?

815