Desktop context menu : Automation API

Desktop context menu

Class library usage, coding and language questions.

Desktop context menu

Postby rajeshmr » Sun Sep 13, 2009 6: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 6:28 pm

Re: Desktop context menu

Postby rajeshmr » Mon Sep 14, 2009 5:07 am

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

Thanks!
rajeshmr
 
Posts: 2
Joined: Sun Sep 13, 2009 6:28 pm


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests