I am looking for way on how best to test a desktop context menu. Is there a better way for finding sub-menus by looping and finding all sub-menus or do I need to know what sub-menu to expect under each menu item?
Thanks,
Desktop context menu
Re: Desktop context menu
I found the method I was looking for menu.FindDescendants<MenuItem>()
Thanks!
Thanks!