Please help to have a look for error details in below when running watir for automation test.
Details: 1> watir version : 1.9.2 2> Ruby version: 1.8.7
2017-11-14 05:51:06 ERROR [xxx] Failed to create browser object for: IE
2017-11-14 05:51:06 ERROR [xxx] WIN32OLERuntimeError
Attach
OLE error code:80004005 in HttpWatch.Controller
Failed to attach to browser. Please check that both HttpWatch entries are enabled in IE's Tools->Manage Addons window and that 'Enable third-party browser extensions' is checked under Tools->Internet Options->Advanced->Browsing
HRESULT error code:0x80020009
Exception occurred.
Note: httpwatch was installed successfully and enabled it from manage-addon from IE.
IE version is : 9.11.9600.18697
I am confused why this happen and can reproduce 100%, and other test clients with same settings working fine.
This looks like a problem connecting to HttpWatch in IE rather than directly a Watir problem.
Please check the following:
Can you manually open HttpWatch in IE and record log files?
There should be 3 entries for HttpWatch in Tools->Manage Add-ons. Are all 3 entries enabled?
Do you have the latest update to HttpWatch installed from
https://www.httpwatch.com/download/ ?
If you have any further questions or problems please email support@neumetrix.com
Answer from Neumetrix, the developer of HttpWatch
User contributions licensed under CC BY-SA 3.0