Not sure how to resolve this

i have automation running without any issue but from past couple of days i am observing that openwith.exe that is appearing and due to this automation fails with reason at type into activity as

" type into input email: cannot bring the target application in the foreground. the action was blocked by the foreground window" from the openwith.exe

i have added kill to kill this but i am not able to understand why this is happening

@mint,

Change the input method of type into to simulate this will work even if the application is in background.

Thanks,
Ashok :slightly_smiling_face:

Hi @mint

Please follow the steps below. If I helped you, please mark as solved.

Try replacing the “type into” activity with the “set text” activity
The image shows a "Set Text" activity within a "Sequence" in an automation workflow, with the text field set to "write your data input here". (Captioned by AI)

@mint

First thing…try to use kill just before your activities or any specific area where it is failing

Also windows messages or simulate will help here

But better to suppress that window some how by looking at the issue so that further activiites also would not fail

Cheers

you will need to identify what trigger the openwith.exe, use screenshots to see real time issue
use activate activity on the target application to bring it into the foreground.
killing openwith is temporary solution but check the event maybe some links or specific files are causing the issue

@ashokkarale @Anil_G @Erimateia @Ehab_Sawars
thanks for your responses

its a ui based automation and i think i need to track this down instead of as it might cause an issue but when trying locally no such thing is happening

do you have any idea what it might be ?

i have updated the default browser as well and the issue is happening any time outside available hours that is also a problem

you will need to debug the process from where it fails , the VDI or the remote machine from which it fails.
once you do that you will be able to identify the issue

@mint,

Check this article on openwith.exe

its a simple seq for data creation how can i add a screenshot in this and where i can see that can you help

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.