Triggering focus-out from a kendo datepicker textbox

114 views
Skip to first unread message

Deepak Agarwal

unread,
Jun 4, 2015, 11:27:14 PM6/4/15
to seleniu...@googlegroups.com
Hi,

I am using a kendo datepicker control on my form and its value is bound with a knockout observable. I am also having a computed observable which monitors the change on bound observable and triggers an AJAX call to get some data in that computed function.

When I am trying to automate using selenium, the computed function isn't get called when date is entered into kendo datepicker text control using SendKeys() function i.e. the bound observable is not getting updated. When I explicitly tab-out from date-picker then it triggers the change and make the AJAX call from computed function. 

Question is, how can I explicitly tab-out from kendo datepicker using Selenium framework so that the computed function is called and AJAX call is triggered?
Also note that this works fine when browser is the active window. When browser window loses focus, above issue is observed.

Thanks!
Reply all
Reply to author
Forward
0 new messages