Page 1 of 1

Internet Explorer crashes unexpectedly on test case exectn

Posted: Fri Nov 23, 2012 6:39 am
by michael_esi
Internet Explorer crashes unexpectedly on test case exectn

Hi,

I am facing problems while running my test suite on IE 8 , and I am automating a silverlight application using windowlessfalse mode.

On running test suite, internet explorer crashes unexpectedly. I see it happen randomly. Out of 10 times I run my test suite it happens 4 times.
Capture12.PNG

this is what i see in event viewer
Untitled.png
and finally ie gets redirected to
Capture1.PNG
Could you please help me out with the issue ?
I am using ranorex version 3.3.3

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Fri Nov 23, 2012 12:02 pm
by Support Team
Hi,

You are using IE 8 right?
Could you disable the Ranorex plugin in your Internet Explorer (Ranorex.Plugin.TridentIpc.RanorexAddon) for test purposes and check if the IE still crashes?
Which .Net version is installed on your machine?
Does IE also crash if you manually perform the same steps?
Please also update to 3.3.4, which is the current version.

Regards,
Markus

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Mon Nov 26, 2012 7:58 am
by michael_esi
IE works fine when I manually perform those steps. It happens in automated scenario only.
I did an upgrade to IE 9 to check if it is a broswer issue, but still the issue exist.
Disabled ranorex addon , upgraded to ranorex 3.3.4 still IE crashed randomly.
.Net version 4.0 is installed in my machine.

On further investigation I found that, the issue was happening frequently, in few recording modules , where recording was having actions to open a dialog by double clicking an item in telerik rad grid view control.
In my application telerik controls are almost used, everywhere.
IE crashes frequently on these recording modules. Interestingly Test case executes successfully without any issue, when I run these recordings individually.

Any idea why this happens ?
I would really appreciate , If you could help ?

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Mon Nov 26, 2012 1:27 pm
by Support Team
Hello,

Could you please add a validation step to ensure that the dialog is visible?
Please add the Validation(Exists) action prior to the Click action.

Could you please post a Snapshot of your whole application?
Please take a look at section Creating Ranorex Snapshot Files in our User Guide.

Regards,
Markus (T)

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Mon Dec 03, 2012 11:21 am
by michael_esi
Hi,

I cant post the snapshot of my application, as it is confidential. Any other workaround's for this issue ?

thanks..

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Mon Dec 03, 2012 2:45 pm
by Support Team
Hello,

Problems with the file 'npctrl.dll' indicates an issue with Silverlight or the registry.

Please try to install Silverlight 5 in order to fix issues related to older versions.
Please take a look at this article. You could try to fix this issue with WiseFixer (Download from CNET).

Regards,
Markus (T)

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Thu Dec 06, 2012 9:58 am
by michael_esi
Hi ,


I installed silverlight 5, to check if the issue is due to older version. IE crashed again after I did Silverlight update .
Below is the event log after I did a Silverlight update.
toranorex.PNG
Im running Ranorex 3.3.4 , using IE9, .Net Version4, Windows7 OS running on 64 bit system.
Any other steps to resolve this issue ?

Thanks...

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Thu Dec 06, 2012 11:39 am
by Support Team
Hello,

Unfortunately, we could not reproduce this issue.
We would need a sample application that produces this behavior in order to analyze this issue.

Regards,
Markus (T)

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Tue Dec 11, 2012 1:02 pm
by michael_esi
Hi,

I use 64 bit system to run and record test cases. Have you had any scenario where IE crashed on 64 bit systems while test case execution ?

Thanks.

Re: Internet Explorer crashes unexpectedly on test case exectn

Posted: Tue Dec 11, 2012 5:25 pm
by Support Team
Hello,

I have not found the same specific error behavior but you could try to reinstall .NET Framework.

Is it possible to run your test on a different machine?
This would help to analyze this issue.

Regards,
Markus (T)