Action Click 'push button': Error HRESULT E_FAIL has been returned from a call to a COM component

I am getting this error sometimes and sometimes the process is working fine.

Action Click ‘push button’: Error HRESULT E_FAIL has been returned from a call to a COM component.

I am not able to understand the error can someone please help.

Hi @anussark

This can happen if something goes wrong with the underlying uiautomation. It would be ideal if you could try to reproduce the issue on a separate project and share it with us :slight_smile:

It is not always easy to get there, though. As a workaround, I would suggest updating the UiAutomation package version for a start.

1 Like