none
Selenium RRS feed

  • Question

  • Hi 

    I am using Selenium for Visual Studio 2013.  I have created a test that will select some menus on a web page.  This test works against Chrome, and Firefox browsers. I downloaded the 64-bit version of IEDriverServer (exe) file to test against IE.  I am presently using IE11.  For some reason, it fails to click on the web menus for a web page in the test.  My test just fails on IE11 (the default and only browser I have on a windows 8 machine).  Does anyone have a way to solve this issue? My test works on all other browsers, and I am using the code to click on the menu item:

    var UL = Browser.webdriver.FindElements(By.TagName("ul"));
     var LI = UL[0].FindElements(By.TagName("li"));
     var link = LI[16].FindElement(By.LinkText("Blog"));
     link.Click();

    My Windows: Windows 8

    IE version: IE11 (version 11.0.14 and security update KB3003057)

    Windows - 64 bit machine

    Is IE11 not supported for Selenium? I read some posts that one would have to change registry settings and select/deselect protected mode for all security zone under Internet Explorer options. I did this, and this did not work.  If there is a way to resolve in code, please send me the code to do so.  I also went out to this location and downloaded the IE support for Selenium (http://www.microsoft.com/en-us/download/details.aspx?id=44069), and it did not work.

    It also give me an error when closing the browser (webdriver.close()) that has something to do with an error 'Unable to get browser'  

    DOM: Where I am making the selection
    Monday, November 17, 2014 4:40 PM

Answers

All replies

  • Have you check out this?

    "For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates. For 32-bit Windows installations, the key you must examine in the registry editor is<tt style="font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;max-width:66em;line-height:normal;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE</tt>. For 64-bit Windows installations, the key is <tt style="font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;max-width:66em;line-height:normal;">HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE</tt>. Please note that the <tt style="font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;max-width:66em;line-height:normal;">FEATURE_BFCACHE</tt> subkey may or may not be present, and should be created if it is not present. Important: Inside this key, create a DWORD value named <tt style="font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;max-width:66em;line-height:normal;">iexplore.exe</tt> with the value of 0"

    https://code.google.com/p/selenium/wiki/InternetExplorerDriver

    Monday, November 17, 2014 4:44 PM
  • I did this alreadyreg edit

    Monday, November 17, 2014 5:35 PM
  • So I guess there really is no support for IE 11?

    http://watirmelon.com/2014/03/13/do-you-really-need-to-run-your-webdriver-tests-in-ie/


    Tuesday, November 18, 2014 12:52 AM
  • Hi Antwan,

    From this download link: http://code.google.com/p/selenium/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount , IEDriverServer is deprecated.

    In order to confirm whether Selenium supports IE 11, I suggest consulting on Selenium forum: http://www.seleniumtests.com/p/selenium-2-forum.html for better support.

    In addition, if you just want to test your application against IE11 using Coded UI test, you don’t need use Selenium. Coded UI test supports recording actions and playback on IE11.

    Thanks,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, November 18, 2014 7:53 AM
    Moderator