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? (keep in mind that I am new and have limited Java knowledge).
Thank you so much!