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

What is the limitation to XML Checkpoints?

0 Answers  


Once the Actions are splitted , is there any way to merge them

3 Answers  


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

0 Answers   TCS,


How to change the Default synchronization method time and where?

4 Answers  


How many types of Actions are there in QTP?

6 Answers   Wells Fargo,


What is QTP and the use of QTP in TD?

0 Answers   MaxSolPro,


Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

0 Answers   ADITI,


write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How many types of recording facility are available in quicktest professional (qtp)?

0 Answers  


If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?

16 Answers   Genpact, HP,


What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


Categories