IE 8 'Automatically detect settings' checkbox turned off while coded UI test is running

Nov 7, 2012 at 8:15 PM

I'm running into an issue in IE 8 where my test is failing due to the IE 8 Lan Settings for 'Automatically detect settings' checkbox is being turned off while the test is running. I also cleared my cache and cookies but that didn't fix it.

Has anyone else encountered this issue?

Coordinator
Nov 10, 2012 at 4:45 PM

What error message do you receive?

In my experience, IE works better with that setting enabled.

Are you sure that setting is enabled before the test is run and then disabled after the test is complete?

Are you running IE as the same user when checking this setting both times?

If you'd like to enable this feature programmatically, see the sample code here:

http://stackoverflow.com/a/8033613/90287