how to upload a file using selenium webdriver in java code example
Example 1: how to upload a file in selenium java
driver.findElement(By.id("urid")).sendKeys("drive:\\path\\filename.extension");
Example 2: downloading file in selenium
Selenium itself cannot verify file downloads, can click on download link
but can't go outside the browser and open the downloaded file
Other tools need to be used for that Robot and AutoIT