Changing window with IE

43 views
Skip to first unread message

Malek Houes

unread,
Jul 30, 2018, 5:01:06 AM7/30/18
to Selenium Users
Hello everyone,

I'm making a test that clicks on a button and launches a window to do some other tasks with Robot Framework.

 My test works perfectly with Firefox and Chrome. However, when it comes to IE (version 11.0.9600), the robot doesn't see the new window launched.
So when I call these 2 lines in order to change to window

@{Windows}= Get Window Names
Select Window @{Windows}[1]


It fails with this error: List variable '@{Windows}' has no item in index 1.
I've even put a

sleep 10

after clicking a the boutton that launches the window but nothing seems to work.


Any recommandations please?

Gangadhar Subramanian

unread,
Jul 31, 2018, 3:20:14 AM7/31/18
to Selenium Users
This could be a configuration issue while dealing with IE 10 and above.
Please try with below settings in your IE.

 - Disable Enhanced Protected mode for all zones in IE 10 and above. This can be found in Advanced tab of Internet Options in IE. 
Reply all
Reply to author
Forward
0 new messages