title: how to upload programatically a file on a page that uses kendo UI upload widget
body: <p>I'm writing some automation tests using <strong>Selenium</strong>. I'm on a page that contains <strong>kendoUI</strong> widgets, such as dropdownlist, textbox, and <strong>uploadfile</strong>. The way I've been able to deal with the dropdownlist and other elements was to just make calls using the kendo framework.</p>
  
  <pre><code>var x = $('#myId').data('kendoDropDownList')
  x.value('1');
  x.trigger('change');
  </code></pre>
  
  <p>Runing the above code allows me to select an item from the dropdownlist. </p>
  
  <p>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:</p>
  
  <pre><code>var y = $('#myId').data('kendoUpload');
  </code></pre>
  
  <p>I'fd like to know which how do I open the programatically the file explorer to select a file?</p>
  
  <p>Thanks for helping.</p>