Completed
Last Updated: 09 Dec 2014 13:48 by ADMIN
ADMIN
Stoich
Created on: 03 Feb 2014 20:11
Type: Bug Report
2
Clicks inside Kendo Menu are recoded for an element that doesn't exist yet
*I'm familiar with Feedback item 48660. The workaround described in the comment there doesn't work

This is how to repro. Please follow instructions closely to understand the issue:
1) Create test and start TS recorder
2) Record NavigateTo("http://demos.telerik.com/kendo-ui/web/menu/index.html")
3) Record click on Products menu button (first button)
4) Take note that clicks is recorder against element id="menu_mn_active"
Expected: our translator for KendoMenu records your navigation flawlessly in the menu without you even thinking about it
Actually: Object id="menu_mn_active" does NOT exist before you make the first click on the menu item. It's not the hover over action that causes the element id=menu_mn_active to appear. Instead it's the actual click action. There is a slight "lag" between when you click something and the time actually grab that item and put it in a step. The page changes in that time and as a result we end up recording a click against an element that doesn't yet exist. On playback it will fail. It requires quite a tricky workaround
3 comments
ADMIN
Iliyan Panchev
Posted on: 10 Jul 2014 12:41
We implemented new find logic generation for KendoUI elements, which fixes this problem. It will be included in the upcoming minor and major releases. 
ADMIN
Konstantin Petkov
Posted on: 06 Feb 2014 15:30
Indeed, this is quite specific problem with the KendoMenu widget. The work-around until we develop some solution would be to update the find logic to not rely on the problematic ID. The following resources can help:

http://docs.telerik.com/teststudio/user-guide/elements-pane-overview/find-element.aspx
http://tv.telerik.com/watch/automated-testing-tools/test-studio-flexible-locators
ADMIN
Konstantin Petkov
Posted on: 04 Feb 2014 11:57
The related feedback item:
http://feedback.telerik.com/Project/117/Feedback/Details/48660-clicks-are-not-being-recorded-against-the-kendoui-menu