+1 vote
in QuickTest Professional (QTP) by
How do you know the location Id of an object if you know its index id?

1 Answer

0 votes
by

 Location is the position of the object from left to right and top to bottom within the parent window, frame, or dialog box relative to other similar objects.

Index Id is the order in which the object appears in your AUT relative to other similar objects. For Example, if you have 2 links, then index id=0 will be the first link and index id=1 will be the second link.

The answer to this question is entirely dependent on where the object lies, whether it is within the same parent or not.

Related questions

0 votes
asked Jan 14, 2020 in QuickTest Professional (QTP) by GeorgeBell
0 votes
asked Oct 4, 2023 in JavaScript by GeorgeBell
...