title: Not able to select and upload a file with robot framework
body: <p>I am trying to browse, select and upload the file for my test application using robot framework test automation. I have tried the below mentioned code. It's not working. Please help me on this.</p>
  
  <p>I tried this-</p>
  
  <pre><code>Choose File //span[contains(text(), 'Browse')]  C:/Automation/Data/Test File.txt
  Click Button    id=btnupload    
  </code></pre>
  
  <p>the HTML Code is - </p>
  
  <pre><code>&lt;div class="panel-footer" style=""&gt;
  &lt;span class="btn btn-default btn-file" style=""&gt;
  Browse 
  &lt;input id="file" type="file" name="file" style=""/&gt;
  &lt;/span&gt;
  &lt;button id="btnupload" class="btn btn-default" disabled="" onclick="sendFile()" type="button"&gt;
  &lt;i class="glyphicon glyphicon-upload"/&gt;
  Upload
  &lt;/button&gt;
  &lt;/div&gt;
  </code></pre>