This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to use a RadContextMenuAutomationPeer to open a RadContextMenu, but I can't seem to get it to work. Since there are no Providers on the RadContextMenuAutomationPeer class, I've tried using AutomationPeer.RaiseAutomationEvent(AutomationEvents.MenuOpened) and AutomationPeer.RaiseAutomationEvent(AutomationEvents.ToolTipOpened), but neither seem to work.
Right now I'm using the workaround of calling RadMenuItemAutomationPeer.Invoke() directly without opening the menu first, but I'd like to better match what the user would actually be doing.
Is there a way to open the context menu for UI automation?
Thanks,
Kori
I'm trying to use a RadContextMenuAutomationPeer to open a RadContextMenu, but I can't seem to get it to work. Since there are no Providers on the RadContextMenuAutomationPeer class, I've tried using AutomationPeer.RaiseAutomationEvent(AutomationEvents.MenuOpened) and AutomationPeer.RaiseAutomationEvent(AutomationEvents.ToolTipOpened), but neither seem to work.
Right now I'm using the workaround of calling RadMenuItemAutomationPeer.Invoke() directly without opening the menu first, but I'd like to better match what the user would actually be doing.
Is there a way to open the context menu for UI automation?
Thanks,
Kori