GetMultiple on items other than windows

Nov 14, 2008 at 10:34 AM

I need to get multiple items of a specific type within a Menu white object, but am only able to perform a GetElement(). I can see various instances when it would be necessary to get multiple items rather than a single item, (buttons with multiple text objects or images is another obvious example).

I am attempting to retrieve a list of all the button items within a context menu. Our context menu's are fairly dynamic and the contents change depending on position and active element. We are trying to ensure that all context menu configurations are tested but need a way being told what a context menu contains and the item states.

I will raise another discussion point with regards to adding Menu item functionality to the menu class, but still feel that getMultiple is a useful function to have on other control types.

Many thanks
Nov 19, 2008 at 5:04 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.