I am trying to write a descriptive program for clicking on
a perticular link.For that i wanted an index or location of
that object.But when I viewing through spy, There was no
index property of that object.What to do for getting index
value.How can I get index? please any one let me know.

Answer Posted / honey

Index of an object will be caputured only via OR and it
will not be displayed when spying the object through object
spy.So, add the object via OR and then write DP.
But for writing DP for a link, HTML tag and innertext of
the link properties can also be used.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of running the scripts in Hidden-mode in UFT?

971


How to analyzing test results using quicktest professional (qtp)?

831


What is the basic concept of quicktest professional (qtp)?

820


Is it possible to call from one action to another action in qtp?

810


Hi,All How to create a link in excel sheet using qtp

3233


What is the difference between qtp and selenium?

794


For which type of projects the iterative model is not suitable?

1698


Can we record an application running on a remote machine using qtp?

941


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2697


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1718


What is the use of Debug Viewer?

1705


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1813


How to get Traceability matrix from TD?

964


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2149


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1724