Could you please describe the problem you face in detail? Exactly what you mean by "bookmarks"? Do you mean the Favorites bar in IE, anchors on an HTML page (like mypage.html#bookmark) or some interface element in the application you test? Also, if you face some "object not found" errors, try using suggestions provided in help topics mentioned in the "Handling the 'Object Not Found' Errors" (http://smartbear.com/support/viewarticle/12169/) help topic (the specific topic you need depends on the specific error text).
It's hard to suggest a specific approach without examining the actual application. Could you please post a screenshot showing the UI in question? Also, do I understand it correctly that there are multiple similar buttons in the list view and the problem is that you need to identify a button located near a specific element uniquely? That is, you actually need to identify a web page element which does not have any unique properties but is located near near another web page element, which can be identified uniquely.
Thanks Allen for your reply.
Attached are the screenshots.
In the first screenshot click on the + button to add a bookmark.
On the left of the + there is a edit control. Click on it and in the bookmark view a "-" appears which allows you to delete the bookmark.
Also Clicking on the ‘edit’ button allows the current user to rename bookmarks, change their current Url or to delete the Bookmark entirely
So, do I understand it correctly that there can be multiple "-" buttons and they cannot be identified uniquely? If so, you can try using the following approach:
1. Use the FindChild method to obtain an object which can be identified uniquely (I think the bookmark name to the right from the "-" is OK for that). Please see the "FindChild Method" help topic (http://smartbear.com/support/viewarticle/11716/) for more information.
2. Use the Parent property to obtain the object's parent. Move to a parent object via calling the property multiple times if necessary (obj.Parent.Parent...) until you get to an object which is a common parent (container) both for the unique object and the button in question.
3. Call the FindChild method again for the container object to obtain the button located among the container's children - there should be only a single "-" button which matches these criteria in this case.