I am struggling with downloading a file from webapplication. When I am using a bot everything goes smoothly but downloaded file is broken and Excel cannot open it. However, when I am doing it manually then there are no issues at all.
So to give you some background. Bot clicks on the below element
it generate a file to download (IE download bar appear on the bottom) and when I am trying to open it then Excel says that file is broken - the file is broken and cannot be opened.
After that when I click on this icon once again (by myself this time) it works like a charm and file is fine.
I was trying to use different click methods and no luck so far.