I'm writing some automation tests using Selenium. I'm on a page that contains kendoUI widgets, such as dropdownlist, textbox, and uploadfile. The way I've been able to deal with the dropdownlist and other elements was to just make calls using the kendo framework.
var x = $('#myId').data('kendoDropDownList')
x.value('1');
x.trigger('change');
Runing the above code allows me to select an item from the dropdownlist.
I'd like to do the same with the upload widget. Thus, the first step was to get the the upload widget reference like this:
var y = $('#myId').data('kendoUpload');
I'fd like to know which how do I open the programatically the file explorer to select a file?
Thanks for helping.
Kendo wigdetsis that they don't rely on their own library to perform tasks. After struggling to select value using just simple methods, such as click, I leard the hard way that I need first to reference kendo widget then use methods from their library to make things work..trigger('select')...no success.