Unable to spy IE download file popups
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-04-16 05:28 PM
When I click a link to download a file in IE 9, the browser displays a small popup at the bottom of the page, asking to open/save/cancel. I can't figure out how to interact with that. It's not really a window. It's not really part of the HTML page either. It's something else.
I can interact with those popups using Surface Automation. but I want to interact in normal mode or like java script popups (i.e. for Java script popups I created new object & attached window using window title then spied element in window mode.)
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-04-16 11:03 PM
Hi,
I suggest you read the url to the file from the element and then use the BP object action ""Download File"" stored in ""Utility - File Management"". In that case you will not have to worry about IE pop-ups.
Otherwise, I assume that Accessiblity mode should give you some options even though I cannot test it since I do not have IE 9 installed.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-04-16 10:05 PM
Hi Susheel - it may be that you are not currently attached to the iexplore.exe instance that the pop-up belongs to. Try experimenting with a separate object that treats IE as a windows app to see if you can spy the pop-up using Win32 (red) mode. The message text and buttons etc should be reachable using AA (blue) mode.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-04-16 10:53 PM
Thanks John,
Now I am able to spy the pop-up using Win32 && AA mode (i.e. Open, Save, Cancel buttons), after clicking on down arrow of ""Save"" button, it open new popup with 3 button "" 'Save', 'Save As' and 'Save and Open' "",
when I am spying those option,
BP gives error ""There was an error during the spying operation.""
(System.ApplicationException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo& elementType, List`1& identifiers)
at Automate.frmIntegrationAssistant.HandleSpyOrLaunchClick(Object sender, EventArgs e))
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-16 03:45 PM
Hi Susheel,
I usually do it the way that I send the down arrow through Global Send Key as the position of the buttons is always the same. That should help you to avoid the error message.
Z.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-16 06:12 PM
thanks zdenek,
I m doing same as you have suggested..
