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 / nagesh

index value of object is getting appeared only when more
than one object exist in the application with same property
name.

Example: suppose we have 3 list boxes with same name(text)
as property.then qtp identifies these objects with reference
to index values as index=0,index=1 and index=2.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

933


what is the difference between modular framework & datadriven framework

1817


What is the use of Debug Viewer?

1694


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3303


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1510


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1775


How to analyzing test results using quicktest professional?

915


How to open a new test using quicktest professional (qtp)?

764


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1867


What is Distributed testing? How does UFT support it?

825


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1987


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1545


how to acess a test in RSA?

1902


what is description object?

1828


What is keyword driven framework?

867