jowsef
jowsef

Reputation: 23

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:

Thank you. i hope someone can help me.

Upvotes: 1

Views: 403

Answers (1)

undetected Selenium
undetected Selenium

Reputation: 193068

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.

Upvotes: 2

Related Questions