You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.
Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
to help.
What steps will reproduce the problem?
1. Run UI tests as part of TeamCity build using NUnit runner.
2.
3.
What is the expected output? What do you see instead?
Selenium version: 2.0
OS: Windows 7
Browser: IE
Brower version: 9
When i try to run UI tests as part of the TeamCity build using NUnit runner IWebDriver
initialization fails with the following error:
Unexpected error launching Internet Explorer. Protected Mode must be set to the same
value (enabled or disabled) for all zones. (NoSuchDriver) at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response
errorResponse) in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Remote\RemoteWebDriver.cs:line
985
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(DriverCommand driverCommandToExecute,
Dictionary`2 parameters) in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Remote\RemoteWebDriver.cs:line
805
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
in c:\Projects\WebDriver\trunk\dotnet\src\WebDriver\Remote\RemoteWebDriver.cs:line
773
I use the following build setup: TeamCity running on Win Server 2008 and TeamCity build
agent running on my PC (Win 7). I have also tried using TeamCity build server as the
agent but had the same issue. The build agent is running under admin domain account.
I have checked IE setting to make sure that protected mode is on for all zones (also
tried to disable the mode for all zones).
If i run the tests locally (using Visual studio, Resharper plugin or NUnit directly,
i dont have a problem. Firefox and Chrome work perfectly too. It just Internet Explorer
that is causing an issue. I have spent 2 days researching the net and tried pretty
much everything i could find (using overrides, etc). I would appreciate your help.
Reported by pufeks on 2011-07-08 16:00:42
The text was updated successfully, but these errors were encountered:
When you say that you have checked that Protected Mode is on for all zones, how did
you verify that? In other words, which account were you logged into when you checked?
Protected Mode settings in IE are per-user, so if you checked on the build server while
logged in under your personal account, those setting wouldn't necessarily be the same
as the settings for the admin account the build server is using.
Reported by james.h.evans.jr on 2011-07-10 14:03:00
Hi James,
Yes i have verified that the account that the build is running under has got Protected
Mode enabled for all zones. It is the same account i build locally (locally it works
just fine).
Thanks everyone for help, i have managed to resolve the issue by creating a new domain
account with admin rights and first thing i did was configure IE security settings
(enabled Protective Mode for all zones). I then set my TeamCity build agent service
to run under this account and all seems to work fine.
Originally reported on Google Code with ID 2018
Reported by
pufeks
on 2011-07-08 16:00:42The text was updated successfully, but these errors were encountered: