I was surprised to find that simple attempts to write tests that included navigating via a Telerik RADMenu control produced an error that the menu item is hidden and not visible.
'7/21/2010 10:02:24 PM' - 'Fail' : 1. RadMenuItem('ctl00_HeaderMenu_ctl00_RadMenu1'): item 'Pricing' action -> 'Navigate' to '~/General/Pricing.aspx' -------------------------------------------------- Failure Information: ~~~~~~~~~~~~~~~ Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' ctl00_HeaderMenu_ctl00_RadMenu1][tagIndex 'Exact' li:6] Unable to locate element. Search failed!
You can write WebUI Test Studio tests that successfully navigate through a RADMenu dropdown menu item, but it is not intuitively obvious... here's how:
These 2 steps should open the dropdown list to make it visible and then to execute a click event to actually navigate to the desired page.
RadEditor - please enable JavaScript to use the rich text editor.