Re: Unable to run IE within Jenkins, with the same Protected Mode value for all zones

1,000 views
Skip to first unread message

Kevin O.

unread,
Jul 19, 2012, 12:21:25 PM7/19/12
to seleniu...@googlegroups.com
we run IE tests under Jenkins with no issues, but they execute on slaves.  on our master, jenkins runs under a different user than the logged in user (jenkins needed admin rights for something).  that is something you could check.

shaun.s...@gmail.com

unread,
Dec 9, 2014, 11:38:58 PM12/9/14
to seleniu...@googlegroups.com, lauren...@backelite.com
I got this issue fixed by updating jenkins slave service log on account, by default it use system account, what you need to do is go to service list to find jenkins slave, and double click, update the log on user to the domain user (which same to your master node user name) and then restart the jenkins slave service.
Thus jenkins run command will be same as what you run locally by using same account.

在 2012年7月19日星期四UTC+8下午5时46分06秒,Laurent Perez写道:
Hello

I'm using Selenium 2.25.0 + IE9 under Windows 7, JDK 1.6.0.32.

I'm unable to run IE tests when the build is ran under Jenkins, getting the error "Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones".

However my Protected Mode checkbox is unchecked for all zones. I can't change the securiy level slider for the last icon, "Sensitive sites", so I've tried "High" security level for all zones, so that the security level is the same for all zones, but it does not help. I've tried setting the security level to "Middle" for the first three zones since I can't modify it for the last zone, it does not help either.

I've followed the steps at http://code.google.com/p/selenium/wiki/InternetExplorerDrive. The IEDriverServer executable is in my PATH. Again, the protected mode value is off for every zone.

If I enable Capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true); then it freezes the jenkins build on the first selenium attempt. Disabling the IE flakiness produces the original "Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones" error.

Note that I am able to run IE tests under my IDE, no matter if I use InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS or not.

Is anyone running IE tests under Jenkins ?

Thanks for your help

laurent



Torsten Kleiber

unread,
Jun 23, 2015, 1:26:15 AM6/23/15
to seleniu...@googlegroups.com, lauren...@backelite.com
Does you solution work with IE 11 too? We see here restrictions, that testing sites with javascript does not work under service processes.
Reply all
Reply to author
Forward
0 new messages