IE11 crashing in Windows 8.1
Posted: Thu Jan 09, 2014 10:27 pm
Hi,
I'm using Ranorex 4.0.6 on Windows 8.1 with IE 11. We ran all our scripts (almost 1000 of them) and had no issues except for this: IE11 crashes under 'certain' circumstances for 2 of my scripts (about 90% of the time).
These scripts are in Silverlight objects in the web page. I have plenty of Silverlight tests that are working fine and use the same code framework. I have no idea why these specific tests are failing at these exact same points every time.
In trying to narrow down the problem, I tried these same scripts in Windows 7 SP1 with IE11 and they worked without issues. You might ask, "Maybe it's the application under test?" Perhaps, but no one has ever seen a crash here before and you cannot get it to crash manually... And to complicate it more, it's impossible to manually do exactly what the script is doing because of all the very odd and non-user specific things being done to work with the Silverlight object(s).
What I thought was the problem was the Ranorex code to 'EnsureVisible' on the checkbox item. My code was crashing when trying to click a checkbox object. The checkboxes are in a list control, and there are many of them and they are not all visible and must be scrolled into view. Through trial and error I found that after I do the 'EnsureVisible' I needed to have a delay... possibly to give it enough time to sort itself out under the covers. This seemed to help. But then the problem just ended up happening shortly thereafter when I was simply trying to 'click' on a button object. I'm now assumming that somewhere along the line, under the covers, something bad is happening and it's not obvious what is causing it and it manifests itself at the point that I click the button.
At this point I don't know what to do. So I figured I'd ask if you knew of any problems with Silverlight and Windows 8.1 and IE11? Or perhaps there's some tool that I can run that will trap info about what's causing the crash?
Any help would be appreciated...
Thanks,
Aracknid.
I'm using Ranorex 4.0.6 on Windows 8.1 with IE 11. We ran all our scripts (almost 1000 of them) and had no issues except for this: IE11 crashes under 'certain' circumstances for 2 of my scripts (about 90% of the time).
These scripts are in Silverlight objects in the web page. I have plenty of Silverlight tests that are working fine and use the same code framework. I have no idea why these specific tests are failing at these exact same points every time.
In trying to narrow down the problem, I tried these same scripts in Windows 7 SP1 with IE11 and they worked without issues. You might ask, "Maybe it's the application under test?" Perhaps, but no one has ever seen a crash here before and you cannot get it to crash manually... And to complicate it more, it's impossible to manually do exactly what the script is doing because of all the very odd and non-user specific things being done to work with the Silverlight object(s).
What I thought was the problem was the Ranorex code to 'EnsureVisible' on the checkbox item. My code was crashing when trying to click a checkbox object. The checkboxes are in a list control, and there are many of them and they are not all visible and must be scrolled into view. Through trial and error I found that after I do the 'EnsureVisible' I needed to have a delay... possibly to give it enough time to sort itself out under the covers. This seemed to help. But then the problem just ended up happening shortly thereafter when I was simply trying to 'click' on a button object. I'm now assumming that somewhere along the line, under the covers, something bad is happening and it's not obvious what is causing it and it manifests itself at the point that I click the button.
At this point I don't know what to do. So I figured I'd ask if you knew of any problems with Silverlight and Windows 8.1 and IE11? Or perhaps there's some tool that I can run that will trap info about what's causing the crash?
Any help would be appreciated...
Thanks,
Aracknid.