I am new to automated testing and, though my Selenium tests are running on Chrome and Firefox, they are not running on IE11. I did all the checks I detail below, but I keep on bumping into this error:
org.openqa.selenium.WebDriverException: Failed to navigate to http://myapp. This usually means that a call to the COM method IWebBrowser2::Navigate2() failed.
I did first the required configuration as in https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration) .
I have tried editing my registry as suggested at In IE: org.openqa.selenium.WebDriverException: This usually means that a call to the COM method IWebBrowser2::Navigate2() failed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE add a new DWORD value with the name iexplore.exe and the value 0, as described by https://stackoverflow.com/users/80779/lordofthepigs
I also tried introducing the piece of code suggested by https://stackoverflow.com/users/4210466/karunakar-sapogu :
new_window = self.driver.window_handles[1]
self.driver.switch_to_window(new_window)
But I seem not to be introducing it right because I got java errors.
Has anyone solved this problem in Java? Could you give me step by step instructions?
1) Are you sure that is your IEdriver instance run?
2) Did you use IEdriver x64 or IEDriver x86?
Even if you use x64 windows, in most cases you use internet exlporer x86. Please, try x86 driver and try to reproduce such behavior