Issue in Perform Click in Web Adapter
Automation is stuck or Hang after performing a 'perform Click' in a Web Adapter and no exception message is triggered in TRY-CATCH. This happens once in a while.
Only after manually closing the Webpage in Task Manager, Exception message is sent out as email. Until manually closing the Automation is stuck even for hours.
Below is the Error message that we receive for the exception.
System.InvalidCastException: Unable to cast COM object of type 'mshtml.HTMLAnchorElementClass' to interface type 'mshtml.IHTMLElement'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F1FF-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at mshtml.HTMLAnchorElementClass.IHTMLElement_click()
at OpenSpan.Adapters.Web.Wrappers.HtmlElementWrapper.click()
at OpenSpan.Adapters.Web.HtmlElement.PerformClick()
at OpenSpan.Adapters.Web.Controls.WebControl.PerformClick()