"Save As" in InternetExplorer

Hi Team,

I am trying to save file using “Save As” option in the Internet Explorer but it does not seem to be working, I have went through the forum and there was similar issue faced but the solution was not very clear and that thread is closed. Can you please help me with the same. Below is the screenshot and my selector.

1 Like

You need to make selectors dynamic so u can use it n number of time for that use less attributes which are most common for that element as per i have use it in my projects its working fine so try to make it dynamic . I f still facing problem then u can use image automation like click image

I tried click Image approach but it is having some issue, do you have some sample xaml file where you are using it ?

Hi
your selector looks good
Fine…
–Kindly enable the Simulate click property in both the click activity and try once buddy
–Also change wait for ready property to Complete
–Make sure that these two activities are inside the attach browser activity or attach window activity
–Then add some delaybefore property with some timestamp whose default value is 200 milliseconds around…keep it as 2000 millseconds

Hope this would help you
Cheers @Chetan1809

@Chetan1809 For the first one, it’s not clear if you’re using an * for the title - it should be something like this -

title=‘ACME System 1 - Reports - Download Monthly Report - Internet Exp*’

I also have SimulateClick enabled and WaitForReady set to INTERACTIVE

Hope this helps!

@Chetan1809 - Instead of just left clicking to downoad, then changing the pop-up menu have you instead tried right clicking the link, then selecting ‘save as’ in the right click context menu? That is how I perform the vast majority of downloads within IE

Hi @Chetan1809

Don’t need to use click image

First ensure you click on thE download bar and then click on save and save as

Thanks
Ashwin.S

I have noticed that even the F2 (wait) was not working and it was not recording and I was getting error element is not valid. So, next day after restarting work machine, the issue was fixed. Adding this to let anyone refer to this later.

Also, most important is that you should put the two click inside the retry and give the timeout to 2000ms to both of the clicks.

I am also running in to this issue, for the same website, and presumably the same exercise. IE is crashing right around that chunk of my code too. I am not able to validate all of the selectors in the selector tool, but I can with some of them.

Validates:

  • Clicking on notification bar
  • clicking on ‘save as’ arrow button

Does not validate:

  • Clicking on save as popup

This is the crash I get. I believe the mention of the datatable is a red herring, because interacting with the UI of IE happens in a loop, and there is a datatable operation at the top of the loop. Since this crash started happening after I switched this part of the code from Firefox to IE, I am fairly certain that the error is actually regarding the clicks and whatnot, and NOT about the datatable.

UIPath ie crashes

This is the text:

19.10.4+Branch.support-v2019.10.Sha.fe819a658cad0585a64d2f8af94fad5c30b8d122

Message: Cannot serialize the DataTable. DataTable name is not set.

Exception Type: System.InvalidOperationException

RemoteException wrapping System.InvalidOperationException: Cannot serialize the DataTable. DataTable name is not set.
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, Boolean isStillSync)
at System.Activities.WorkflowApplication.EventFrame(IAsyncResult result)