Any tricks in getting WatiN to run on Win7/IE8?
My code:
browser = new IE();
browser.GoTo("http://testserver");
browser.TextField(Find.ByName("txtUser")).TypeText("tyndall");
The third line never really runs and I get an error back:
System.Runtime.InteropServices.COMException : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
The second line seems to run. IE8 appears and is navigated to the correct URL.
Running Visual Studio as Administrator solved this problem for me. (Visual Studio 2008 with WatiN 2.0.20).
There are windows updates getting in the way of instantiating new COM objects.
See my answer on this question for more details:
WatiN, NUnit and CruiseControl.NET-- Error message 800704a6
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With