Search code examples
selenium-webdriverinternet-explorer-11robotframework

IE link opens a new window when running Robot Tests


im having an issue when im running my robot tests.

The application under test (AUT) has a button that opens a new tab when you click it. It works on Chrome and IE when a user actually clicks that button. However, when i run my test to test that functionality in IE, the test opens a new window and that window is not being recognized (i used the SELECT WINDOW keyword in selenium2library)

Has anybody encountered this? is this an IE11 issue or IEWebDriver issue or something?

Here is my system specs:

  • OS - Windows 7
  • Browser - IE11
  • Robot Framework Version - 3.0.2
  • IEDriverServer version - 3.4

Thank you. i hope someone can help me.


Solution

  • When you run your test in IE the test opens a New Window instead of a new TAB is actually perfect.

    As per @JimEvans on the github issue Selenium 3.7.1-IEDriverServer 3.7.0 : IEDriverServer opens a new Window instead of new TAB when JavascriptExecutor is used :

    This is by design that a new window is opened.