Close Popup activity without Use Application/Browser

Sometimes we experience Outlook crashing, displaying a popup: “Microsoft Outlook has stopped working”.

This popup does not react to “Close Application” or “Kill process” activities - it seems impossible to kill.

So I want to use the “Close Popup” activity to close it, but that doesn’t work without being inside a “Use Application/Browser” activity, and there IS no Outlook application open.

The documentation for the “Close Popup” activity is not very good - anyone have experience with this, or a good idea?

-Jeppe

@jjes

Please try the parallel activity inside that you can put the click activity to close(use the classic activity)

Not working. I have no open application, only the popup itself.

Hi @jjes

Popup window is displaying in the foreground or opening at background…?

The popup is open when the automation starts. It is a remnant of an Outlook crash at an earlier point in time, and is not responsive to neither Close Application or Kill Process activities.

Then go with the UI Activities, Use the Check app state activity and indicate on the Popup window. Inside Target appears block don’t use modern Click activity here because you have to use the Use application\browser activity instead of using this use the Classic click activity to handle the popup.

Then when the bot start execution then it will check the popup, if it appears then it will handle the popup.

Hope you understand!!

This happens in production, so indication etc. is not an option.

I would much prefer to use the Close Popup activity for this (as this is what it was designed for), any input on that?

-Jeppe

Maybe go to the root cause of the pop-up.
Perhaps a “Repair” on the Microsoft Office package does the trick?

Oh, the famous root cause :slight_smile:
We (and client’s IT dept) are on that as well, but until then a quick fix is called for. And “repair” hasn’t done the trick so far.

Also, I was just (desperately, I admit) hoping that someone had an easy solution.

-Jeppe

Heheh yeah it is not always easy being “on the outside” trying to explain IT departments what to do :sweat_smile:

Other sugestions that might do the trick:

  • Disable “cached mode” for Outlook, forcing it to go online with the server every time
  • Use SMTP if possible
  • Use Webmail if possible

Regards
Soren

1 Like