Can't get ContextMenu reference

May 8, 2009 at 11:06 PM

I have ContextMenu poping up ufter button click (custom click handler with ContextMenu.Show() ,not Control.ContextMenu property).


Button selButton = mainWindow.Get<Button>(@"_selMenuButton");

bool hasPopup = mainWindow.HasPopup();

//code end

hasPopup is false in debug, but I can see it. What I have to do to get my menu?


Please, help ASAP!

Great Thanks!

May 12, 2009 at 8:46 AM

I've found out that White tests are working with ContextMenuStrip - .NET 2.0 class, but I'm using ContextMenu class from .NET 1.1.

But problem stays the same. Any help would be appreciated.

May 25, 2009 at 7:52 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.