12-13-2008, 04:52 AM
I stay as far away from the object repositories as I can so I'm no real authority on them. That said, if I were faced with this problem I would try a different method of identifying the WebList object - Descriptive Programming. Using the Object Spy on it I would grab some properties and values to uniquely identify it such as "name", "html id", and maybe "class". Then you can use:
The Browser and Page objects can be the items from your repository, but the WebList descriptive key/value pairs provide you with a measure of control over how to identify the WebList object directly in your code.
Code:
Browser("obj").Page("obj").WebList("name:=namevalue", "html id:=htmlidvalue", "class:=classvalue").Select("HHH")
The Browser and Page objects can be the items from your repository, but the WebList descriptive key/value pairs provide you with a measure of control over how to identify the WebList object directly in your code.