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 checkpoints for quicktest professional?

779


How to use the object spy in quicktest professional 8.0 version?

761


Hi All, I need code for how to execute qtp scripts from excell sheet

1673


How to replay a script in qtp?

836


How many types of parameters are available in quicktest professional?

742


what could go wrong with test automation?

1769


What is CMMP and CMMH?

913


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

776


could any help me please, how to work on visual foxpro application using UFT

2036


UFT 12.02 which ALM version will support

1207


What environment does qtp run in?

794


can test automation improve test effectiveness?

1728


In qtp, how you can use xpath to identify objects?

838


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1866


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2158