Using \'Click\' on a WpfMenu item
I am using QTP 9.5 on a WPF application. This AUT has a WpfMenu (contextmenu) with various options. Some of the menu options invoke a popup windows dialog on clicking. I notice that using WpfMenu.Select <opt_name> causes the dialog to close immediately on menu click. This seems to be a problem with how Select works on certain menu options where the dialog opens instantaneously without any delay.
Has anyone faced the same issue or have a workaround for it? Is there a way to invoke the 'Click' or 'OnClick' event for an individual menu item?
Thanks in advance..