If we have the same object repeated lot of times, we can use the following approach.
-> Add only single instance of the object in OR.
-> While writing the code for the object in our script we can dynamically set index property.
Browser("").Page("").FirstName("").SetToProperty "Index", 0 'or 1, 2 etc
Thank you very much, Anish. [img]/images/graemlins/smile.gif[/img]
So the Index number does not have to match what the Object Spy sees for the target object and what's in the Object Repository already. Is this correct? If so, then I assume the best practice is to set the indexes according to how the objects appear on the screen, for example, left-to-right, top-to-bottom.