Intermittent timeout with IEDriver

advertisements

I am having a hard time trying to get tests that run fine on Chrome to run in a stable manner on IE.

I have followed the required configuration steps on Selenium's own documentation for IEDriver and I have the 32bit version of IEDriver also installed. I found the steps needed to setup the protected zones and add the registry key was all I needed to get IE to launch and for the tests to begin.

When running the tests I am often seeing intermittent time out related errors like so:

A Jasmine spec timed out. Resetting the WebDriver Control Flow.

I have seen some talk of just increasing timeout settings in the protractor config but this just feels like a magic number approach to me.

I am unsure what else to try right now, so thought I'd ask here to see what others may have done to help them past such issues.

One thing I did come across in a post elsewhere was how Chrome is more 'forgiving' with promises and that to get them to behave with IE, chaining then() callbacks on promises helped. This doesnt make sense to me, since from what I have read about the webdriver control flow chaining like so shouldnt be required.

Can anyone out there share their experiences with testing against IEDriver and if they have ever hit these intermittent timeouts, how have you been able to resolve these?

Thanks


You can have a look at this Post: This more about getting IE to work but maybe som e of the capability setting will help and also you need to configure your IE

How to fix the slow sendkeys on IE 11 with Selenium Webdriver 3.0.0?.