Won't Fix
Last Updated: 30 Nov 2015 09:40 by ADMIN
ADMIN
Stoich
Created on: 04 Feb 2014 10:40
Type: Bug Report
0
KendoUI DatePicker test playback failure
Currently we're missing a Translator for  Kendo DatePicker. A Kendo DatePicker is a KendoInput and KendoCalendar combined and we have translators for both of those things. But the DatePicker appears to have some special properties that make it very hard to automate without a Translator.

Steps to repo:
1) Create a Test and start the Recorder
2) Record NavigateTo("http://demos.telerik.com/kendo-ui/datepicker/rangeselection")
3) Record "Open Kendo DatePicker"
4) Record selecting any date

Expected: the test passes on playback flawlessly
Actually: the KendoCalendar control has a dynamic ID. Because of this the test will fail on playback. It's very difficult to get this test working at all without using a coded solution. It gives customers a bad impression when it's difficult to automate our own controls.
2 comments
ADMIN
Daniel Djambov
Posted on: 30 Nov 2015 09:39
Telerik: the current codeless solution to this issue is updating the Find Logic of the element NOT to use ID in this case, but some other unique property like "title"
ADMIN
Konstantin Petkov
Posted on: 06 Feb 2014 15:26
Hello,

The test failure comes due to specifics in generating the calendar ID in the KendoDatePicker. We will look at finding the best solution either by an update in the Kendo widget or a solution within Test Studio.

The translator request isn't related to the problem though:

>>But the DatePicker appears to have some special properties that make it very hard to automate without a Translator
Please feel free to submit particular requests so that the devs can work on finding the best solution.

Thanks!