I need to use the popup menu to download the PDF because, although I am able to open the link to the PDF (by executing a “Click” activity), I can’t find a way of saving the PDF file displayed.
Ctrl-S will invoke the save to file dialogue but the “Hotkey” activity requires that an element be identified - but there aren’t any. The whole page is highlighted by the “Indicate element inside window” facility. Clicking on any part of the page throws an error:
The selector captured is: “webctrl tag=‘EMBED’ /”
Using IE is not an option.
Using “Indicate on screen” and F3 to “Select Region”, copies the selected area on the screen but when the activity runs (specifying CONTROL and S), the following error occurs:
Process AllStar Invoice has thrown an exception
Source: Attach Window ‘Httpswwwa Page’
Message: Cannot find the UI element corresponding to this selector:
Exception Type: SelectorNotFoundException
UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I’ve tried “Set focus” and sending a RETURN (using “Hotkey”) before sending Ctrl-S, but both require an element so both fail for the same reason. Is there any way I can send a Ctrl-S to this page?
When you move the cursor to the top part of the page a sub-menu slides into view with a download button. But I can’t use that sliding menu as I get the “Flash and Silverlight” error (above) with the “Hover” activity or trying to use “Click”.
So I’ve reached an impasse (with another apparently simple requirement) … Is there another workaround I can try?