Completed
Last Updated: 28 Oct 2013 14:13 by ADMIN
ADMIN
Cody
Created on: 14 May 2013 20:25
Type: Bug Report
0
Hover Over of RadMenuItem in IE10 not working
If you record and try to playback a test, using IE 10 on windows 7 specifically, that contains a Mouse Hover Over of a RadMenuItem the menu item isn't automatically expanded as expected. If you duplicate the Hover Over step the second Hover Over step makes the menu item appear.
4 comments
ADMIN
Shtilianov
Posted on: 28 Oct 2013 14:13
Hi, problem with quick tasks is that we put verification steps there and the action steps are supposed to be recorded. In this particular case it really makes sense to have those specific steps in quick tasks, we'll discuss it.
Meanwhile there is a second option for adding such steps, you can simply click on the RadMenuItem and this should record RadMenu('ctl00_ContentPlaceHolder1_RadMenu1'): item '' action -> 'Click' step and you just have to change the action to "Open" instead of "Click". Actually that's the initial reason why we have verifications in quick tasks because the idea is to record actions and then choose the verifications from the verification builder or quick tasks. Obviously this have its shortcomings, this case is an example. We'll try to think of a more convenient way to expose the available actions for specific controls, at the moment it is done through step suggestions only.

On the third part of your comment, by using this actions you shouldn't need to verify if the menu item is visible. 
Ewin
Posted on: 28 Oct 2013 13:32
Could you make this part of the quick task instead of having to add it to the element repository and then using the step suggestions to have it open?  

Before this, I used the Mousehover action and then waited for the the specific menu item i was going to use was visible and then clicked on it.  

It may be possible that with this information, I may not need to check if the menu item is visible if the menu has a state of opened.   
ADMIN
Shtilianov
Posted on: 28 Oct 2013 12:31
When you record a test for RadMenu, you should use the "open" action. The step default description is RadMenu('ctl00_ContentPlaceHolder1_RadMenu1'): item '' action -> 'Open' you can create this kind of step using step suggestions, select the element which is the RadMenu, click on "Step Suggestions" and select the "open" action. 
In code the step should look like this Pages.TelerikSASPNETMenu.ListItem.Open(); where ListItem is the RadMenuItem.

This should help, we'll add it to the documentation as well. 
Please don't hesitate to comment if that's not working for you.
Ewin
Posted on: 30 Aug 2013 19:08
Is there an update to this?

A drawback to the double mouseover is that if the menu has a submenu within its items getting to the submenu items is not easy.  

Menu
Item 1
Item 2
Item 3
Item 4 is a Submenu 1
--submenu item 1