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 / sreedhar reddy.m

hi

The index & Location u can't see in OR

If u consider index, it will generate the numbers based
horijontal view

for Examle

if u want to click Home link this no is o incase of index
property

Browser("browser").page("page name").link("index:=0").click

like this way

index will generate the num based on horizonatl view of
objects it will start from 0.

in case of location it will generate the num based verticle
view of objects

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does quicktest professional (qtp) identifies the object in the application?

581


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1371


What are the various types of Actions in UFT?

591


Explain the difference between data driven testing and parameterization ?

583


What is output value? How many types of output values are there in qtp?

579






How to creating an output value using quicktest professional?

541


Can launch two instances of qtp on the same machine?

579


hou can we use vb script in qtp could u tell me breafly

1735


how to prepared for first for the first interview?

1794


what function you write to do database testing with the help of qtp?

1357


how will load the object during runtime?

1579


How software automation specialist enter steps in the Expert View?

1673


Explain more about the Test Fusion Report of QTP?

603


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

1483


What is difference in global and action sheet in qtp?

607