Upload file using robot not working when using Chrome browser

Update: How-to use ‘sendKeys’ or 'File Upload' to upload files when the //input[@type,'file'] is hidden