Watin - page redirection issues

I tried Wattind. I'm having problems with the login page, which is automatically redirected to the main page (without user intervention). WatiN seems to have problems with this. Wehn i Invoke:

IE ie = new IE("http://localhost/MyApp/Login.aspx");

The browser opens, it redirects to "Main.aspx", but Watin disconnects from "Timeout until the status of Internet Explorer is complete." During debugging, I found that the IEReadyStateIsComplete method. When trying to evaluate ie.ReadyState it receives the following exception: "The object is disconnected from its clients."

I am using IE8.

Any ideas on how to handle fast redirects?

Matra

+4
source share
1 answer

It seems that the problem is related to the UAC function for the Window 2008 server. I restarted VS200 as an administrator and now it works fine.

+4
source

All Articles