IE - File downloading with partial data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-07-19 07:03 AM
I am Working with Oracle app from where I am exporting the file which triggers the Save As popup on Internet Explorer.
The issue I am facing is when I download the file(Excel csv) from Save As window popup in IE, the file download completes without any error, but the files are downloading with partial data(incomplete data) ..for ex: the actual file will be of 442 kb size...but the downloaded file will be of 10 kb.....
I have tried to capture the Save As window elements (Save Button, Filename textbox etc) with different spy modes (Win32, AA)...but still the files are downloading partial......No issue while downloading the file manually it downloads with complete data.
Any help on this will be much appreciated.
Thanks,
Syed
------------------------------
? ?
?
Ey
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-07-19 07:58 AM
Why don't you spy the notification or information bar of IE and wait until the message on the bar or the name of buttons on the bar change when download completes?
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-07-19 08:14 AM
Actually file download is completing without any error......but the saved file size is of lesser size than the actual size.
When the Save File Popup opens ...when I click on save button manually file will be downloaded completely with the actual size(442 kb size file saves 442kb )....same step when I perform using navigate stage, file saves partially (442 kb size file saves 10kb size)...and it is not like file download is still continuing....the file download completes saving the file partially
------------------------------
? ?
?
Ey
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-07-19 08:33 AM
Then I'm not sure, but why don't you put an arbitrary Wait Stage before clicking the Save Button?
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-07-19 11:39 AM
Have you tested it in debug mode where you switch around the actions that are done manually? For example, if you're clicking a link or button in the webpage, first try manually clicking the button to bring up the Save As popup. Then in Blue Prism attach to the popup/browser and perform just the one step required for the bot to click the Save button.
If it fails still, try doing a global mouse click (if you're not already) and try the same test again. If it still doesn't work, do the same test again but try having the bot send keys ALT+S to save. If it still doesn't work, I've no idea and I'll join the at-the-end-of-my-guesses club with Tetsuji.
I feel like one of those will work though. So, crossing my fingers that it does. You'd be able to narrow down that it's something about how you're generating the save as popup or how you're filling in the save location. The next thing I'd try is to have the bot cause the Save As popup to occur, and then I'd manually put in the save location and click save. This could be very telling if the download doesn't work for you manually at this point. That would mean the bot is not actually clicking the same thing you are so some experimentation would be appropriate.
I don't normally like to give suggestions that I have no idea will or will not work, but it sounds like that's pretty frustrating for you and that you'll want any suggestions you can get.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-07-19 07:58 AM
Sometimes I get .partial file like you
when trying to download large size file.
It completes without any error same as you.
I found when I get .partial file I close IE even though download is not completed.
So I think this is due to IE issues.
Keep IE open until confirming existence of downloaded file.
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-07-19 04:47 PM
------------------------------
Rajesh kumar Muthineni
RPA Developer
Highmark Health
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-07-19 06:27 AM
------------------------------
Johny Jain
IT Solution Engineer
Kimberly Clark
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-07-19 06:59 AM
I would like thank each one of you (Tetsuji Junicho, David Morris, Mitsuko Kurata, Rajesh kumar, Johny Jain) for taking out your valuable time and helping with your inputs & suggestions, really appreciate that.
The issue is resolved now.
I was able to finally figure out the thing which was causing the files to download partially.
I had the arbitrary wait of 20 seconds when switching between apps (Oracle app to Internet ), at the stage when we click Export button in Oracle app which will then take us to Save as dialog in the internet explorer...decreased the static wait from 20 seconds to 5 seconds which resolved the issue.
This was little strange to me, must be something to do with Oracle app where they have set some kind of timeout for downloading the files.
Thanks,
Syed
------------------------------
? ?
?
Ey
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-20 09:16 PM
Are you getting the same error again?
I am trying to download some files from a browser based Application. I am facing this issue for some scenarios. I increased static wait for 10 secs and the frequency reduced. However sometime I am getting this file and I am not able to proceed further.
Please help
------------------------------
Abhilash Swain
Automation Developer
Shell
Asia/Kolkata
------------------------------
