Desktop context menu

Class library usage, coding and language questions.
rajeshmr
Posts: 2
Joined: Sun Sep 13, 2009 5:28 pm

Desktop context menu

Post by rajeshmr » Sun Sep 13, 2009 5:45 pm

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,

rajeshmr
Posts: 2
Joined: Sun Sep 13, 2009 5:28 pm

Re: Desktop context menu

Post by rajeshmr » Mon Sep 14, 2009 4:07 am

I found the method I was looking for menu.FindDescendants<MenuItem>()

Thanks!