title: ALT+S key press using Robot Class not working when used along with Selenium
body: <p>I am automating a scenario using Selenium Webdriver. When I click on the button using the selenium java script in IE, it downloads an excel file(shown in image-popup).
  However I need to click on the "Save" option in that bar, so that it gets downloaded at the default location.
  Since selenium does not provide the support for clicking the file download browser popup, so i have tried using robot class fuctionality.</p>
  
  <p>The code which i have used is:</p>
  
  <pre><code>driver.findElement(By.xpath("//*[@id='btnGenerateExtract']/span/span")).click();
      //some wait of 4 seconds
      clickOnSave();
  </code></pre>
  
  <p>Code for clickOnSave():</p>
  
  <pre><code>{
              Robot robot=new Robot();
              robot.setAutoDelay(250);
              robot.keyPress(KeyEvent.VK_ALT);
              Thread.sleep(1000);
              robot.keyPress(KeyEvent.VK_S);
              robot.keyRelease(KeyEvent.VK_ALT);
              robot.keyRelease(KeyEvent.VK_S);
  }
  </code></pre>
  
  <p>However, this is not working as it is not able to click on the "save" option.
  Please suggest</p>